5. Sorting Results - SphereMall/Android-MS-Client GitHub Wiki

Sorting Results

// order by `title` ASC:
client.products()
       .sort("title")
       .all();
       
// order by `title` DESC:
client.products()
        .sort("-title")
        .all();