/** * Sorts the given list of application reports, most recently started * or finished instance first. * * @param instances list of instances */ public static void sortApplicationsByMostRecent(List<ApplicationReport> instances) { Collections.sort(instances, new MostRecentlyStartedOrFinishedFirst()); }
/** * Sorts the given list of application reports, most recently started * or finished instance first. * * @param instances list of instances */ public static void sortApplicationsByMostRecent(List<ApplicationReport> instances) { Collections.sort(instances, new MostRecentlyStartedOrFinishedFirst()); }