Reuben D Budiardja wrote: > > is there somekind of sort function to sort the element of an array, Not surprisingly, it's called "sort()" :-) For more detail, see http://developer.netscape.com/docs/manuals/js/client/jsguide/index.htm HTH! -- H* Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design ---(+1) 408-938-0567 --- http://www.webtuitive.com -- creating dynamic Web sites and applications since 1994 --