Is this a homework assignment? What have you tried? are you allowed to use all the tools in the api, or do you have to write your own sort?
I'd strongly recommend you read our
FAQ to get the most out of the JavaRanch.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors