don't try to check sorting on nonexistent search data