It is not possible. The select is in a while (rs.next()) {} depending on another value. (Not easy to explain!!)
I am a ware of normal SQL order by -----Oprindelig meddelelse----- Fra: Dave Newton [mailto:[EMAIL PROTECTED] Sendt: 10. marts 2003 19:20 Til: Struts Users Mailing List Emne: Re: Sort a collection in alphabetic order On Mon, 2003-03-10 at 13:16, Søren Blidorf wrote: > I need to sort my collection "people" in alphabetic order by lastname, > firstname. Can anybody help me? Most algorithm books will give you more information than you want on sorting. Why not just do it in the query and let the db do it? Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]