Method for comparing this AppInfo instance with another based on name.
int compareTo(AppInfo other) { return name.compareTo(other.name); }