Search on Interface of Collections (specifically the comparable method). This should allow you to write your own way to compare objects and thus the Java engine will sort based upon your comparable method.
On 6/27/06, password password <[EMAIL PROTECTED]> wrote:
Hi, Arrays.sort(astrName); I can not use the sort method because I have the arrays have an relation. I mean, the first element of astrName have relation with first element of adblBackground1, adblBackground2, adblItensity1 and adblItensity2. Then I can sort each array independently, if I sort an element of astrName I have to sort the rest of arrays. Can you tell me a way to do this? Thanks. --------------------------------- LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com
-- Marc Farrow