ORDER BY

Transact-SQL Reference

Transact-SQL Reference

ORDER BY

Specifies the sort order used on columns returned in a SELECT statement. For more information, see SELECT.