Search and sort work also together