Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
'use strict'; module.exports = function sort(fn) { const collection = [].concat(this.items); if (fn === undefined) { if (this.every(item => typeof item === 'number')) { collection.sort((a, b) => a - b); } else { collection.sort(); } } else { collection.sort(fn); } return new this.constructor(collection); };