public KeyedObject[] toSortedArray() {
		KeyedObject[] keyedObjects = this.owningSet().toArray();
		Arrays.sort(keyedObjects, new StringComparator());
		return keyedObjects;
	}
Returns the elements of the owningSet sorted by their
values of this Attribute.
Ghidra/Framework/Generic/src/main/java/ghidra/util/graph/attributes/StringAttribute.java