Top-down Sort

Write the program to sort 5 numbers using a top down sort. Model your program on the bubble sort program in the sense that the user should input 5 numbers, the program should sort the numbers and the results should be displayed.

There are notes on the logic of a top down sort at the Web site.