* binary search needs an already sorted array so combined with selection sort, time complicity = n² causing overall algorithm slower
* if performing search multiple times, use binary as we only have to sort once
* if performing search once, better to use linear