Erro Collections.sort ()

Estou tentando classificar uma lista do tipo A chamada BinOrder na classe B de acordo com o int r da classe A.

No entanto, estou recebendo este erro para a linha Collections.sort (BinOrder);

The method sort(List<T>) in the type Collections is not applicable for the arguments (ArrayList<A>)

Classe A:

public class A{
int s; 
int r;

public A(int si, int ri) {
    s=si;
    r= ri;
 }
}

Classe B:

import java.util.ArrayList;
import java.util.Collections;


public class B implements Comparable<A> {



    public Iterator<A> randomMethodName(int a) {
        ArrayList<A> BinOrder = new ArrayList<A>();
                A a = new A(1,3)
                A a2 = new A(1,4)

                BinOrder.add(a);
                BinOrder.add(a2);
        }

        // sort array in increasing order of r
        Collections.sort(BinOrder);
        return BinOrder;
    }

    @Override
    public int compareTo(A list) {

        return null;
    }
}

questionAnswers(2)

yourAnswerToTheQuestion