I want to implement a custom order for the backward pass instead of following the reverse order of the forward pass.

I want to implement a custom order for the backward pass instead of following the reverse order of the forward pass.