how to ignore the white space while sorting the numbers in angular code example
Example: typescript remove whitespace from string
let whiteSpace = ' ABCD ';
let noWhiteSpace = whiteSpace.trim();
let whiteSpace = ' ABCD ';
let noWhiteSpace = whiteSpace.trim();