public static void sortByTypeIdIndex(AnnotationItem[] array) {
    Arrays.sort(array, TYPE_ID_SORTER);
  }
Sorts an array of instances, in place, by type id index, ignoring all other aspects of the
elements. This is only valid to use after type id indices are known.

@param array {@code non-null;} array to sort
android/android_framework/dex-maker/src/main/java/com/android/dx/dex/file/AnnotationItem.java