Print out the contents of the collection before you sort it. When you see that, you'll understand what the problem is.
Type: Posts; User: Norm
Print out the contents of the collection before you sort it. When you see that, you'll understand what the problem is.
Does the program print out the contents of the collection before it sorts it?
What is printed?
Can you post the current version of the program?
What's in the collection before you sort it?
Look at the Collections class. It has sort methods.