Simple default sort implementation for grid.