private List movieItems = null; public List getMovieItems() { final int first = 0; if (movieItems == null) { getPagingInfo(
In your compare method, o1 and o2 are already elements in the movieItems list. So, you should do something like this:
compare
o1
o2
movieItems
Collections.sort(movieItems, new Comparator() { public int compare(Movie m1, Movie m2) { return m1.getDate().compareTo(m2.getDate()); } });