ensuring that grid cols is ordered as intended