nl_tokens: Function to help sort the arrays
pl_tokens: function arrSort ( a , b ) { var acomp = a [ 'name' ] . toString ( 10 ) ; <mask> bcomp = b [ 'name' ] . toString ( 10 ) ; if ( ! isNaN ( Number ( acomp ) ) ) { acomp = Number ( acomp ) ; } if ( ! isNaN ( Number ( bcomp ) ) ) { bcomp = Number ( bcomp ) ; } if ( acomp < bcomp ) { return - 1 ; } if ( acomp > bcomp ) { return 1 ; } return 0 ; }