Grid sorting updated