A company has 600 employees whose names are currently stored using an array called NAMES. The names are stored as surname, first name. For example: Smith, Jane, Uysal, Rafael, Ahmed, Ishmael, Jonsonn, Sara, ...
The names in the array are kept in a random order. However, it would be more useful if they were kept in alphabetical order.
The company's staff list is now organized in arrays in alphabetical order.
A binary search was used to find a specific name in the surname array.