@Override
	public int compareTo(AppWindow other) {
		if (this != other) {
			String title = getTitleForWindowMenu();
			String otherTitle = other.getTitleForWindowMenu();
			if (title != null) {
				if (otherTitle == null) {
					return 1;
				}
				return title.compareTo(otherTitle);
			}
			if (otherTitle != null) {
				return -1;
			}
		}
		return 0;
	}