Hi All, I have a requirement where I need to sort the group on average of a particular field. The motive here is to compute the average of the value of a field across all documents of the group and then sort the group on the basis of commuted average.
Is there any approach that can be used to solve this problem? Thanks Saurabh Sharma