Use a either TreeSet for your label keys.
Or convert the collection to java.util.List then use Collections.sort( List )
provided you make your elements "Comparable".
--
Peter Pilgrim ++44 (0)207-545-9923
//_\\
"Mathematics is essentially the study of islands of =======
disparate subjects in a sea of ignorance." || ! ||
Andrew Wiles _____________
---------------------------------------- Message History
----------------------------------------
From: Sue Deng <[EMAIL PROTECTED]>@localhost.localdomain on 14/12/2001 12:40 PST
Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]>
DELEGATED - Sent by: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: [Fwd: How to list options in order?]
I mean to sort labelProperty in alphabetical order.
--
This e-mail may contain confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error) please notify the sender
immediately and destroy this e-mail. Any unauthorized copying, disclosure or
distribution of the material in this e-mail is strictly forbidden.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>