What is this ? This methos is use for sorting the Array as Low to High Installation npm i sid_sortbysid --save Then... import{sid_sortbysid} from 'sid_sortbysid'; public sid_sortby:any; var val; sidsortfunction(parameter) this.sid_sortby = 'your Array';