nl_tokens: Rank a vs b based on any numeric component in their string .
pl_tokens: function compareHigher ( a , b ) { var numA = parseFloat ( / [\d\.]+$ / . <mask> ( a ) [ 0 ] ) ; var numB = parseFloat ( / [\d\.]+$ / . exec ( b ) [ 0 ] ) ; if ( isNaN ( numA ) || ( numB > numA ) ) { return + 1 ; } else if ( isNaN ( numB ) || ( numA > numB ) ) { return - 1 ; } else { return 0 ; } }