Middleware plugin sequence

what ist the order (sequence) fro the execution of multiple middelware plugins for traffic manipulation.

I want to transform a GET Request into a DELETE as I need to adapt an old system that is only able to send GET or POST requests.

If I just use Method transform from GET to DELETE on an endpoint, it works fine, but I also need to do URL rewriting from GET …endpoint/item/delete/{id} to DELETE …endpoint/item/{id}

So if I add a URL-Rewrite to the endpoint, the rewriting works fine, but then is sent out as GET and not as DELETE. So it looks like there is a wrong order in Plugins and after URL-rewriting, the methot transform is not executed anymore.