On Sunday, April 28, 2002, at 06:57 , james poni wrote: > How would i modify this program in order to do so ? Do i need a time hash > eg time = (12:00 =>1,12:30=>2,13:00=>3,13:30=>4 ......) ? why not a simple two stage sort routine? having solved for the day value split the 'time' field into two pieces $hr and $min and sort first on the $hr value - IF they are equal then compare the rest... ciao drieux ---Thread Previous