Oracle Interview Question

write a program to sort the list data