Phoenix.pm: sort function

Mark A. Sharkey mark at wcws.com
Wed Jun 9 02:56:55 CDT 1999


What do I need to do, in order to sort a hash, ignoring the case of the
letters?

I have a foreach statement like this:
  foreach $var (sort keys (%CAT) ) {

The results of this sort, give me all the listings that start with capital
A-Z, *then* all the listings that start with lowercase a-z.  Of course, I
want to sort based on Aa-Zz (or, aA-zZ).

Thanks.


--
******* PLEASE NOTE *******
Our area code has changed!
******* PLEASE NOTE *******

Mark A. Sharkey
World Class Web Sites
mark at wcws.com
800 844 4434 (toll free)
480 461 9765 (local)
480 461 9312 (fax)





More information about the Phoenix-pm mailing list