Documetation for Java basic sort and binary search.