Fixed logic for Default Sort on grid