Added javadoc to interface Sort.