Pregunta de entrevista de Online Business Systems

one coding question about sorting.