query is now driven by sort index