added search/filtering support
added basic sort functionality