sortByCount
Creates a $sortByCount pipeline stage for the specified filter
Return
the $sortByCount pipeline stage
Parameters
filter
the filter specification
Creates a $sortByCount pipeline stage for the specified filter
the $sortByCount pipeline stage
the filter specification