@@ -0,0 +1,572 @@
+package checkpoint.andela.readersClub;%0A%0Aimport checkpoint.andela.main.Member;%0Aimport checkpoint.andela.members.*;%0A%0Aimport java.util.Comparator;%0A%0A/**%0A * Created by Semiu on 26/11/2015.%0A */%0Apublic class ComparatorInterface implements Comparator%3CMember%3E %7B%0A%0A  @Override%0A  public int compare(Member member1, Member member2) %7B%0A    if (member1.getClass() == member2.getClass()) %7B%0A      return member1.getRegistrationDate().compareTo(member2.getRegistrationDate());%0A    %7D%0A    if(member1 instanceof Staff && member2 instanceof Student) %7B%0A      return -1;%0A    %7D%0A    return 1;%0A  %7D%0A%7D%0A

Implement The Comparator Interface To Sort Who Get Book First