DEFAULT_OPTIONS is a frozen Hash with symbols as keys.
There is no need to convert such keys to strings before sorting.
Note that sorting is not needed for stable implementations of Hash, keys would always be returned in the same entry order.
Sorting removed as all supported Ruby versions implement entry order Hashes.
DEFAULT_OPTIONS
is a frozen Hash with symbols as keys. There is no need to convert such keys to strings before sorting. Note that sorting is not needed for stable implementations of Hash, keys would always be returned in the same entry order. Sorting removed as all supported Ruby versions implement entry order Hashes.