Advanced jQuery-based filter to filter, sort, and paginate records