Revert "Enum is a hashset and hence elements can have arbitrary order"
Revert "Enum is a hashset and hence elements can have arbitrary order"

This reverts commit 12584e6ddaa2c525a841be29a904f83106c7fbd2.
brutusin/json-provider,brutusin/json-codec-jackson