Are you looking for an SQL statement to do that? If so then use
Select * from somethingtable order by something asc, somethingelse desc,....
Desc - descending order
Asc - Ascending order (this is by default, so don't have to specify even.)
Hope that helps.
- Vijay G
Strive for Perfection