Pregunta de entrevista de IXL Learning

Sort a nasted list in efficient way