you want a vector of booleans as the result. Not a boolean. The Ord trait doesn't do that :)