@Test
public void shouldMultipleSort() {

    DocumentQuery query = select().from("collection")
            .orderBy("name").asc()
            .orderBy("age").desc()
            .build();
    QueryOSQLConverter.Query convert = QueryOSQLConverter.select(query);
    assertEquals("SELECT FROM collection ORDER BY name ASC, age DESC", convert.getQuery());
}