package edu.northwestern.bioinformatics.studycalendar.utils;

import edu.northwestern.bioinformatics.studycalendar.domain.Named;

import java.util.Comparator;

public class NamedComparator implements Comparator<Named> {
    public int compare(Named named, Named named1) {
        return named.getName().compareTo(named1.getName());
    }
}

@@ -213,16 +213,95 @@
 amed%3E %7B%0A
+    public static final NamedComparator INSTANCE = new NamedComparator();%0A    %0A
     publ

Add static singleton instance