Name the keys in alphabetic order and sort them: $SQL = "select userid a, giftid b ...."; . . . print F "$row_ref->{$_} + " for sort keys %$row_ref;
Many thanks for this, it worked a treat.
Cheers
In reply to Re^2: Sorting SQL results
by nickt9999
in thread Sorting SQL results
by nickt9999
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |