Does someone know an elegant way to sort objects in a microflow by the count of associated objects. To make this question more clear: Object A has a reference to object B. In a microflow I need to know which of objects B has the most associated object A's.
An after commit which updates the count? This count than can be used to sort on.