Search and sort by tag implemented