Class SortByCount

java.lang.Object
dev.morphia.aggregation.stages.Stage
dev.morphia.aggregation.stages.SortByCount

public class SortByCount extends Stage
Groups incoming documents based on the value of a specified expression, then computes the count of documents in each distinct group.