Apply ordering to documents based on CTEOrderBy criteria. Returns a sorted copy without mutating the input array.
Apply ordering to documents based on CTEOrderBy criteria. Returns a sorted copy without mutating the input array.