How do I get the product groups sorted by the relations sorting defined in the tables EcomShopGroupRelation and EcomGroupRelations?
I basically want to retrieve the same tree that's displayed in the admin ecommerce tree from a template.
I looked through the service Dynamicweb.Ecommerce.Services.ProductGroups, but these methods only seem to get flat lists from the EcomGroups table.