added some java doc comments to sort, also started deleting unecessary things from sort test