I was looking for compact code, quick implementation.

Sadly, a lot of the work I have to do is done in a hurry, so the customer doesn't care if it's a bubble sort or quick/merge/insert sort unless the data set is really large.

Also, I work with databases a lot, so when someone wants it sorted, I ORDER BY on the SQL and it's done.

DB2 SQL is my best language. Java is probably next.

I haven't looked for the "best algorithm" since I worked at SABRE, where we had lots of time (usually at least 2 quarters) to implement something.

Glen Austin