How can a developer prioritize a plugin’s execution, where possible?
For plugins observing the same method, the sortOrder attribute controls priority. Plugins begin execution from the lowest to the highest sortOrder, so assigning a lower value than the target plugin gives the plugin earlier execution priority. Module load order is relevant only when plugins have the same sortOrder or no value is specified.
sortOrder
Community Discussion