Removing outdated inline docs.
Fixed sorting. Fixes issue #376