@Override public int compareTo(Label other) { if (this.getWidth() > other.getWidth()) { return -1; } else { return 1; } }