@ Override public int compareTo ( News o ) { int diff = o . getPubDate ( ) . compareTo ( getPubDate ( ) ) ; if ( diff != 0 ) return diff ; return getPage ( ) . compareTo ( o . getPage ( ) ) ; }
Ordered by pubDate desc page