in reply to Sorting data returned from DBI ...
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sorting data returned from DBI ...
by chinamox (Scribe) on Dec 10, 2006 at 07:09 UTC | |
by davido (Cardinal) on Dec 10, 2006 at 16:48 UTC |