FStateTreeActiveStates::IndexOfReverse

Returns index of a state, searching in reverse order.