RE: Sorting an Array with classobjects

2003-02-27 Thread Hanson, Rob
TED] Subject: Sorting an Array with classobjects Hello Perlgurus! I have made a small program that creates some instances of a classobject and puts them into an array. I want to sort this array in order of a specific value in the class. I was thinking of something like this but it doesn't work

Sorting an Array with classobjects

2003-02-27 Thread Nils-Anders Persson
Hello Perlgurus! I have made a small program that creates some instances of a classobject and puts them into an array. I want to sort this array in order of a specific value in the class. I was thinking of something like this but it doesn't work @sortarr = sort byvalue (@unsortedobjectarray) sub