Create an ordered list

I have this API but it doesn’t return a list back in order it’s defined, what’s a solution with the plugin framework? My guess would have been to use the DiffSuppressFunc in terraform SDK v2

Note: the user might also not supply the list in order but i would like to store the list in alphabetical order