I've got some data I'd like to sort, and I'd like to be able to control the order, so if _my_ order is: 'red', 'green', 'blue', 'yellow' and the datain looks like: 'red 5', 'red 3', 'yellow', 'green'... is there an easy way to do this? I'm not sure how to compare an array to another array...? tia Pete ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch