Implement std::ranges::less without std::less