Fixed sorting with GridManager