Pregunta de entrevista de Hexagon

Coding Sort a stream of data with acceptable time complexity