@@ -0,0 +1,642 @@
+package rocks.matchmaker;%0A%0Apublic class Indexed%3CT%3E implements Comparable%3CIndexed%3CT%3E%3E %7B%0A%0A    private final int index;%0A    private final T value;%0A%0A    private Indexed(int index, T value) %7B%0A        Util.checkArgument(index %3E= 0, %22Index can't be null%22);%0A        this.index = index;%0A        this.value = Util.checkNotNull(value);%0A    %7D%0A%0A    public static %3CT%3E Indexed%3CT%3E at(int index, T value) %7B%0A        return new Indexed%3C%3E(index, value);%0A    %7D%0A%0A    public int index() %7B%0A        return index;%0A    %7D%0A%0A    public T value() %7B%0A        return value;%0A    %7D%0A%0A    @Override%0A    public int compareTo(Indexed%3CT%3E o) %7B%0A        return index - o.index;%0A    %7D%0A%7D%0A

Add `Indexed<T>` wrapper implementing `Comparable`