How to get Category list with most popular or sold first as it is listed in Register Application.
I want to show Category list with most popular or sold on top as Clover Register app shows. I used InventoryContract class(provided by Clover SDK) to get Category list. I use query with sorting order by name(names). I need a proper query to get Category list sorted as in Register application.