Dynamic order for Tab Navigator / How to skip screens when animating transition?

Hello! I have a createMaterialTopTabNavigator with screens A, B and C. How can I navigate from A to C without B showing in the animation transition? I figured that using “order” as a parameter I can transition like that with [‘A’, ‘C’, ‘B’], but how can I manage that dynamically?