Update javadocs for sort
Merge pull request #201 from bserdar/197-javadoc

Update javadocs for sort