@Override public int compareTo(MongoCollection otherCollection) { return this.name.compareTo(otherCollection.getName()); }