Separate programs for sort and binary search.