@@ -518,7 +518,7 @@ instance (FromJSON a) => FromJSON (Vector a) where
518 {-# INLINE parseJSON #-}
518 {-# INLINE parseJSON #-}
520instance (ToJSON a) => ToJSON (Set.Set a) where
520instance (ToJSON a) => ToJSON (Set.Set a) where
521− toJSON = toJSON . Set.toList
521+ toJSON = toJSON . Set.toAscList
522 {-# INLINE toJSON #-}
522 {-# INLINE toJSON #-}
524instance (Ord a, FromJSON a) => FromJSON (Set.Set a) where
524instance (Ord a, FromJSON a) => FromJSON (Set.Set a) where