Click to See Complete Forum and Search --> : Sort an array of text strings, how?


TheIceman5
September 1st, 2002, 09:55 AM
i want to sort an array of text strings using Perl, can anyone tell me the command for doing this, i can do it with numbers but if i use the same method for text it sorts it depending on the length of the string, i dont want that, i want to sort it A - Z, anyone know how?

websmith99
October 18th, 2002, 07:06 PM
http://www.rocketaware.com/perl/perlfaq4/How_do_I_sort_an_array_by_anyth.htm


:cool: