Bernadel- Have you looked at aggregating all of the items into either a SortedMap (sorted on the natural order of the keys) or perhaps a SortedSet (sorted according to natural ordering of its elements)?? http://java.sun.com/j2se/1.5.0/docs/api/
Saludos! M- ********************************************************************* This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. ----- Original Message ----- From: "password password" <[EMAIL PROTECTED]> To: "Tomcat Users List" <users@tomcat.apache.org> Sent: Tuesday, June 27, 2006 12:03 PM Subject: Re: sort an array > >Yes, you need to create an array of a data bean/value bean/private class >>(whatever buzz word you want to give) and then sort that array. So you >>would have an array of arrays and then sort the array of arrays. > > Can you put an example of this (array of arrays)? How can I do the order > with this method? > > > > > --------------------------------- > > LLama Gratis a cualquier PC del Mundo. > Llamadas a fijos y móviles desde 1 céntimo por minuto. > http://es.voice.yahoo.com