title: What is an easy way to do a sorted diff between two files?
body: <p>I have two files in which some of the lines have changed order. I would like to be able to compare these.</p>
  
  <p>One website suggested something that looks like this:</p>
  
  <pre><code>diff &lt;(sort text2) &lt;(sort text1)
  </code></pre>
  
  <p>But this yields the error: <em>Missing name for redirect.</em></p>
  
  <p>I am using tcsh. Is the command above for a different shell?</p>
  
  <p>Is there a better way?</p>