@@ -0,0 +1,353 @@
+package com.inmobi.messaging.consumer.util;%0A%0Aimport java.util.Comparator;%0A%0Aimport org.apache.hadoop.fs.FileStatus;%0A%0Apublic class FileStatusComparator implements Comparator%3CFileStatus%3E%7B%0A%0A  public int compare(FileStatus o1, FileStatus o2) %7B%0A    if (o1.getPath().getName().compareTo(o2.getPath().getName()) %3C 0) %7B%0A      return 1;%0A    %7D%0A    return -1;%0A  %7D%0A%7D

add FileStatusComparator