The only way to change this order is to reorder your HTML elements.
tabindex
itself can do 2 things:
- it sets the order of "focusable" elements
- it makes element "focusable".
tabindex = -1
Element will not get focus
tabindex = 0
Element will be focusable in the normal tab (semantic) order
tabindex = 1
Element with positive values will be focused first