@K P - You can create a custom sort calculation like total([Measure] for [SubProduct]) and use that calculation as the advanced sort option for the SubProduct Row.
I've attached a sample report spec for reference. The Report was built using Cognos Analytics 11.1.1 using the Go Sales(query) package.
------------------------------
DENNY NAREZNY
------------------------------