Added javadoc to sort(..), sort_index(..) and symmat...