Sorting Repeating Group Based On Calculation In The Repeating Group

Some discussion on this topic here…