Fix #1148: sort values on search failing round trip serialization
Merge pull request #1167 from elasticsearch/fix/1148

Fix #1148: sort values on search failing round trip serialization