src/main.js
function(locale) {
    this.intCol = (Intl && Intl.Collator) ? new Intl.Collator(locale) : new CollatorPolyfill(locale);
}
function(locale) {
    this.intCol = (Intl && Intl.Collator) ? new Intl.Collator(locale) : new CollatorPolyfill(locale);
}
function ( locale ) { this . intCol = ( Intl && Intl . Collator ) ? new Intl . Collator ( locale ) : new CollatorPolyfill ( locale ) ; }
Constructs a sorter instance.
@constructor Sorter
@param {string} [locale] - the locale to sort by (e.g. 'en-US')
Constructs a sorter instance .