This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
if your data is coming from a database, i would prefer to do the sorting in the query itself rather than code unless
it involves user sorting a subset of data shown in UI, at that point i would use it in code.