in reply to Re^2: sorting a database table with primary keys
in thread sorting a database table with primary keys

yes .. sorry about that -- I originally had my %choices = (1 => bug_id, 2=>'owner', 3=>'subject', 4=>'status', 5=>'assigned' ); but broke it into %numSorts and %strSorts so that cmp/<=> could be used accordingly, and just didn't copy/paste all the way through...
The code in my above reply has been updated ..