Set the ordering in the resource.Meta. Then just assert the field is set, no need to check the order within the response.