Updated method signature to 'sort' along with the documentation and README
Updated package.json