I have get my number field value from firebase and inject into the table like this:
<td><label>{{obj.mynumber}}</label></td>
mynumber values are like this:
10 000
2 000
10
250 000 000
when I sort the column, it sorts it based on the digits until the first space, which is wrong. So i need to reformat it as a number and remove the spaces. How to achieve this?