groups cursors into selectors