You could modify your SQL to use "GROUP BY college" and "ORDER BY student_id". Also, you could use Perl's sort function. This will negate the need for your loops and be much cleaner code.
In reply to Re: Sorting data pullled in by DBI
by cyocum
in thread Sorting data pulled in by DBI
by data67
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |