Sorts the Keys if the primitive is actually Object.
If the primitive is not object then this method does nothing.
JSONPrimitive Class