fix sortDirect config in GRID