Implement multi-select mode (#3)
Do not sort the result if query is empty