controls for row sorting