Current state for subquery sorting