Added some comments for the search/filter/sort functionality.