[feature] sort query