title: bash - how do you sort within the lines of a text file
body: <p>Using the linux command <code>sort</code>, how do you sort the lines within a text file?</p>
  
  <p>Normal <code>sort</code> swaps the lines until they're sorted while I want to swap the words within the lines until they're sorted.</p>
  
  <p>Example:</p>
  
  <p>Input.txt</p>
  
  <pre><code>z y x v t
  c b a
  </code></pre>
  
  <p>Output.txt</p>
  
  <pre><code>t v x y z
  a b c
  </code></pre>