Comparator implements a function that compares the builtin basic types of Go and that returns -1 if a is smaller than
b, 1 if a is bigger than b and 0 if both values are equal.
Type defines the type of the generic Comparator that compares two values and returns -1 if a is smaller than b, 1 if
a is bigger than b and 0 if both values are equal.