You shouldn't need to re-sort after the fact. Check your SQL documentation on ORDER BY. The ORDER BY clause allows you to specify multiple search criteria, in order of significance. You're already using ORDER BY, you may as well use it to its full potential. You might reconstruct your ORDER BY clause like this:
.... ORDER BY city, last, first
Check out this online resource for details on ORDER BY.
Dave
In reply to Re: Sorting data returned from DBI ...
by davido
in thread Sorting data returned from DBI ...
by chinamox
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |