sort the results in aggregate API by count

amaradiswamy
Kilo Sage

Hi All,

I have one aggregate API which shows the count of incidents created groupby CI. My requirement is to sort result we got from the rest message based on the count. i.e, CI with maximum count should come first.

Is there anyway to do this?

Thanks and regards

Swamy

5 REPLIES 5

This seems like it doesnt work for regular GlideAggregate calls.