- All Implemented Interfaces:
- java.io.Serializable, java.util.Comparator<java.lang.Object>
- Enclosing class:
- ScriptableObject
public static final class ScriptableObject.KeyComparator
extends java.lang.Object
implements java.util.Comparator<java.lang.Object>, java.io.Serializable
This comparator sorts property fields in spec-compliant order. Numeric ids first, in numeric
 order, followed by string ids, in insertion order. Since this class already keeps string keys
 in insertion-time order, we treat all as equal. The "Arrays.sort" method will then not change
 their order, but simply move all the numeric properties to the front, since this method is
 defined to be stable.
- See Also:
- Serialized Form