componentPropertyDefinitions is a “new” way to return defined properties of the
Unfortunately, the object it returns has keys (= property names) sorted in unknown order, rather than reflecting order set in the UI.
variantGroupProperties seems to keep the order of variants sorted as in the UI. It really helps e.g. in organizing variants accoring to intended order.
Is there any way to retrieve component’s properties in the order, that was set up in the UI?
Additional reference: Version 1, Update 49