k06a / boolinq

Simplest C++ header-only LINQ template library
MIT License
628 stars 79 forks source link

Question: Is it possible to orderby but descending? #70

Open hidemat opened 2 years ago

hidemat commented 2 years ago

So if orderby descending an array [3, 2, 5, 4, 1] would result:[5, 4, 3, 2, 1]

k06a commented 2 years ago

@hidemat you can pass different comparator or try *.orderBy().reverse()