public KeyedObject[] toSortedArray(KeyedObject[] keyedObjects) {
		KeyedObject[] clone = keyedObjects.clone();
		Arrays.sort(clone, new IntegerComparator());
		return clone;
	}
Sorts the array of keyedObjects by their values of this 
Attribute.
Ghidra/Framework/Generic/src/main/java/ghidra/util/graph/attributes/IntegerAttribute.java