I have array list with long ids
Arrays.asList(12, 34, 54, 22, 33);
I have an Object with OwnerClass(String description, long id);
I want to sort the List<OwnerClass>
by the index of id in my array list.. so if id is 12 it will be the first and if id is 33 it will be the last.. if the id is not found in the array then put it in the last..