in reply to Sorting array

Let's see what you tried - show us some code.