Edit in JSFiddle

<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
  </head>
  <body>
    <input type="text" tabindex="2" value="2"><br>
    <input type="text" tabindex="1" value="1"><br>
    <input type="text" tabindex="3" value="3">
  </body>
</html>