Oracle interview question

write a program to sort the list data