LILY-241: better searching, sorting, rendering and paginating