nl_tokens: uniqueSort :
pl_tokens: function uniqueSort ( arr , isSorted ) { if ( isSorted == null ) isSorted = false if ( ! isSorted ) arr . sort ( ) var out = [ ] , ix , item for ( ix = 0 ; ix < arr . length ; ix ++ ) { item = arr [ ix ] if ( ix > 0 && arr [ ix - 1 ] === arr [ ix ] ) continue out . <mask> ( item ) } return out }