[TEST] Sort by the _id field instead of _uid field and also assert the sort value.