Oracle Interview Question

Coding ques - Sort list of lists.