Look up Shell sort, Insertion Sort, Quick Sort, Bubble sort if you want the algorithms. If you want more detail, you need to be more specific in your question and let us know when the assignment is due.
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'