Implement EZP-23465: Elasticsearch custom field sort

This PR resolves issue https://jira.ez.no/browse/EZP-23465