Im ordering a table by room number, most rooms follow numeric value's in order such as 1,2,3,4 etc, however some room are 12A, 12B etc and the ordering takes the numbers into consideration before the letters
I'm using an ngx-datatable and filtering using -
<ngx-datatable
[sorts]="[{prop: 'locationUnit', dir: 'asc'}]"
I would like it to filter by numbers with the letters, then the higher numbers and letters. In the example above it should be 1A, 4, 5, 12A, 12C. Thanks