SortArray does not support sorting simple array types (integer/string) #4929
Labels
status: ideal-for-contribution
An issue that a contributor can help us with
type: enhancement
A general enhancement
Referring to https://www.mongodb.com/docs/manual/reference/operator/aggregation/sortArray/
sorting of simple e.g. int array should be possible:
however
ArrayOperators.SortArray.by
only accepts typeSort
, which seems to always require a property. Not clear if any way to set a simpleASC/DESC
order to sort by.Seems simple feature that has been missed off, or if possible missed of documentation on how to achieve?
The text was updated successfully, but these errors were encountered: