Pregunta de entrevista de Agoda

write sorting algorithm. create soldier team of 3 based on ranking