public int compareTo(final Schedule o) {
		final double result = this.getRank() - o.getRank();
		if(result > 0)
			return 1;
		if(result < 0)
			return -1;
		return (schedule.equals(o.schedule))?0:1;
	}