Exposed sort functionality of lucene to search function