In the Elasticsearch backend, when we sort by the id field, we use the _uid field to sort.
The _uid field is defined as `type#id` so it seems weird to use this to sort instead of the _id field.