How to group and sort for a single resource ID into multiple criteria in resources usage profile