dist/toolkit.js
function(items) {
        return items.sort(function(a, b) {
            return a.title.localeCompare(b.title);
        });
    }
function(items) {
        return items.sort(function(a, b) {
            return a.title.localeCompare(b.title);
        });
    }
function ( items ) { return items . sort ( function ( a , b ) { return a . title . localeCompare ( b . title ) ; } ) ; }
Sort the items.

@param {Array} items
@returns {Array}
Sort the items .