Array of names
Function that takes two names which returns true if first name is less than second
True if Array is sorted false otherwise