Compares two values and returns an int indicating their order.
@override int compare(bool x, bool y) => (x ? 1 : 0) - (y ? 1 : 0);