How to apply a sorting algorithm to array field whenever a value is added or changed?
I have a few array fields in my Sanity project that would work better if they were automatically sorted based on their values rather than having a user manually sort them.