Order grids by number.