I have a multidimensional array. Right now, I am sorting an array using
this piece of code:

@Phone = sort{ uc($a->[$Sort]) cmp uc($b->[$Sort]) } @Phone;

$Sort is the index number, e.g. phone number, name, etc. Is there a way
to sort by more than one index at the same time. To give an example: I
would like to sort by department and within the department by name. With
my current program I can sort by department only and the names are
unsorted.

TIA
Dirk Vieregg

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to