In MVC we can decorate action methods with different filters like
[HttpPost]
[Authorize]
public ActionResult mymethod(){}
HttpPost
To save you some time, this is how you set the order:
[MyCustomContextFilter(Order=1)]
The index is 0 based, so you can do 0, 1, 2, etc...
It should be noted that just because a filter is on the base class doesn't tell MVC to apply it first :(.
Filters run in the following order:
For example, authorization filters run first and exception filters run last. Within each filter type, the Order value specifies the run order. Within each filter type and order, the Scope enumeration value specifies the order for filters. This enumeration defines the following filter scope values (in the order in which they run):
Extracted from MSDN