Adding Binary Search and sort