@Test
void sortClear() {

    MongoCollection<Document> collection = populate("sort_cancel_test");
    MongoQueryBuilder<Object> query = new MongoQueryBuilder<>(Object.class, collection, this.connector);
    query.sort().desc("uuid").done();
    assertEquals(1, query.sort().getElements().size());
    query.sort().clear();
    assertEquals(0, query.sort().getElements().size());
    collection.deleteMany(new BsonDocument());
    assertEquals(0, collection.count());
}