#include <algorithm>
#include <functional>
#include <iostream>
#include <vector>

bool before(int left, int right) {
    return left < right;
}

bool bad_before(int left, int right) {
    return left <= right;
}

int main() {
    std::cout << before(2, 2) << ' ' << before(1, 2) << ' ' << before(2, 1) << '\n';
    std::cout << bad_before(2, 2) << '\n';
    std::vector<int> values{4, 1, 3};
    const std::greater<int> descending{};
    std::sort(values.begin(), values.end(), descending);
    for (const int value : values) {
        std::cout << value << '\n';
    }
    return 0;
}
