Sorting frontend routing rules

I have the following routing rules for 2 services in Traefik:

1- Host:mydomain.com;PathPrefix:/
2- Host:mydomain.com;PathPrefix:/{path:(?i)images(_v\d)??}/

The URL in question in my tests is "http://mydomain.com/images"

According to the docs and my own testing, the 2nd service should serve the request since its routing rule is longer in length (56 > 30). However, if I change the 2nd service's priority to "-300", I would expect the first routing rule to match first (30 > -300). However, that doesn't seem to happen. I know that because the 2nd service sets a custom response header which should've not been set if the request was served by the first service (which they still do).

Hello,

It's not possible to set a negative priority, in this case the priority is replaced by the default computed priority.