http://www.cpan.org/authors/id/G/GE/GENE/SQL-OrderBy-0.03.tar.gz
This is a little wheel that I came to rewrite for GUI table sorting things a few times. This is a simple text processor, with a single function to resort a list of columns given an SQL "ORDER BY" clause and a selected column name. This column is added or moved to the beginning of the order list and toggled (asc/desc), if it was already at the beginning. The package requires no additional modules or higher version of Perl. The resort() function itself is made with named parameters for future flexibility. -gb Epistemologist at-large _______________________