Added separate function for inplace sorting
Added separate method for inplace sorting. README and package.json updated.