VadimDez / ngx-order-pipe

▼ Angular 5+ orderBy pipe
https://vadimdez.github.io/ngx-order-pipe/
MIT License
243 stars 57 forks source link

multiple fields sorting #54

Closed tingyencode closed 6 years ago

tingyencode commented 6 years ago

Hi VadimDez,

Something that was missing to me was the ability of sorting per multiple expressions; clearly piping multiple instances of orderby could have done the trick here but the user should then take into account that he/she has to reverse the order of the orderby piping.

I have see that you had already made a test with multiple expressions already and I think the array way of dealing with expressions make more sense than a joined string using ',' as a delemiter.

Hope it doesn't go too much against the flow