Are you placing all your results in a dataset/datatable? If so, you try this simple function:
public static DataTable getSortedTable(DataTable dt, string columnName, string direction)
{
DataView dv = dt.DefaultView;
dv.Sort = columnName + " " + direction;
return dv.ToTable();
}