in reply to Re^2: sorting an array
in thread sorting an array

Except that this doesn't sort in the order that Selvakumar wants.