Filter order of execution


I have two filters AFilter and BFilter.

BFilter relies on AFilter executing prior to it.

However I can’t get this to happen. I thought it was based on the order in application.conf but this doesn’t seem to be the case

AFilter is enabled via a Module - not sure if this makes a difference.

play.filters.enabled +=
play.filters.enabled +=

Is there a way to enforce the ordering of the filter execution?