VadimDez / ngx-order-pipe

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

OrderBy boolean value #50

Closed AcePetrucci closed 3 years ago

AcePetrucci commented 6 years ago

Hi! I need to sort a data grid, but it contains a column which is filled with boolean value instead of strings or numbers. For now the data is being sorted like strings and false comes first when using the pipe, so for the time being I set up the column to be always reversed, but this is not the best approach, of course. Is there any way to change the pipe to sort boolean values?

rafa-suagu commented 6 years ago

Same here

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

rafa-suagu commented 4 years ago

@VadimDez this issue should be closed?

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.