- Source:
Methods
(static) sortedObjectKeys()
- Source:
This is a function for use in
JSON.stringify(input, sortedObjectKeys, [number])
that ensures that object keys are always sorted in alphanumerical order.
Returns:
The original data if not an object, otherwise an object with its keys sorted alphanumerically.