@Override
    public int compare(Ban o1, Ban o2) {
        int result = o1.getUntil().compareTo(o2.getUntil());
        if(!reverse) {
            return result;
        } else {
            return result * -1;
        }
    }