program to sort numbers in ascending order columnwise and print them on screen using pointers
eg before sorting after sorting 2 5 16 2 4 12 45 4 18 14 5 16 14 67 12 45 67 18