Plugins SortOrder and Limitations in Magento2 In the previous blog , we’ve discussed how to declare plugins and what are the types of plugins. In this blog, we will focus on plugin sort order and limitations of plugins in Magento2. Plugin SortOrder Plugin sort order is used to decide the priority of executions when multiple plugins are listening to the same method. And if more than one plugin is listening to the same method but doesn’t add sort order or maybe the same sort order then the execution will be decided on component load order by the sequence tag of module.xml and area of plugins. Sort order works in lower to higher when used in before method and higher to lower when works in after methods. Around plugins execute before the before plugin when around plugin have lowest sort order then before plugin. Let’s take an example to understand this:- Order to execute plugins - Before plugins Around plugins chaining After plugin...