Adding binary search to sorting table.