posted 13 years ago
Fred is right.
It also depends on your overall architecture. If you have a giant, fast, DBMS server and fairly lightweight applications talking to it, it may be faster to use the DBMS to do the sort.
And it depends on how many things you are sorting.
Other than a fun topic to argue over beers, you need a lot more specifics to get any useful information or guidance.