@@ -0,0 +1,664 @@
+package com.example.prakhar.movieapp.model.more_movie_list.box_office;%0A%0Aimport com.example.prakhar.movieapp.model.more_movie_list.MovieListResult;%0A%0Aimport java.util.Comparator;%0A%0A/**%0A * Created by Prakhar on 4/20/2017.%0A */%0A%0Apublic class RevenueComparator implements Comparator%3CMovieListResult%3E %7B%0A    @Override%0A    public int compare(MovieListResult o1, MovieListResult o2) %7B%0A        Double revenue1 = o1.getRevenue();%0A        Double revenue2 = o2.getRevenue();%0A%0A        if(revenue2.compareTo(revenue1) %3E 0) %7B%0A            return 1;%0A        %7D else if(revenue2.compareTo(revenue1) %3C 0) %7B%0A            return -1;%0A        %7D else %7B%0A            return 0;%0A        %7D%0A    %7D%0A%7D%0A

Add RevenueComparator