@Override
    public int compareTo(Entry other) {
      if (address < other.address) {
        return -1;
      } else if (address > other.address) {
        return 1;
      }

      boolean thisIsStart = isStart();
      boolean otherIsStart = other.isStart();

      if (thisIsStart != otherIsStart) {
        return thisIsStart ? 1 : -1;
      }

      return spec.compareTo(other.spec);
    }
Compares by (in priority order) address, end then start disposition (variants of end are all
consistered equivalent), and spec.

@param other {@code non-null;} entry to compare to
@return {@code -1..1;} standard result of comparison
android/android_framework/dex-maker/src/main/java/com/android/dx/dex/code/LocalList.java