Adding sorting to search results.

I've taken the approach of translating at the v4 layer into an esdoc field name and the just using it in the search.