0
kicks
Slightly more dynamic ORDER BY in SQL Server 2005
When CASE isn't enough and dynamic SQL isn't an option, here's a method for using dynamic ORDER BYs in SQL 2005. Supports multiple columns and sort directions.