Pregunta de entrevista de EyeQ Tech

write code for a sorting question