If the objects are Strings, you can use the String.CASE_INSENSITIVE_ORDER Comparator. Pass it in to the sort method along with your array.
-David
-----Original Message-----
From: Wade Steele [mailto:wsteele3@csc.com]
Sent: Wednesday, July 03, 2002 11:29 AM
To: ajug-members@www.ajug.org
Subject: sorting a collection
As you know, the sort() method will
sort arays like this
Acorns
Bees
Birds
Cows
apples
rocks
I need to sort my arrays like this
Acorns
apples
Bees
Birds
Cows
rocks
Any idea how I can do this? I need
it to be completely case
insensitive.
Thanks,
Wade