title: Use cat to sort multiple fastq files in a directory
body: <p>I have the following to sort my fastq by their sequence identifiers:</p>
  <pre><code>zcat 001_T1_1.fastq.gz | paste - - - - | sort -k1,1 -t &quot; &quot; | tr &quot;\t&quot; &quot;\n&quot; | gzip -c &gt; 001_T1_1_sorted.fastq.gz
  zcat 001_T1_2.fastq.gz | paste - - - - | sort -k1,1 -t &quot; &quot; | tr &quot;\t&quot; &quot;\n&quot; | gzip -c &gt; 001_T1_2_sorted.fastq.gz
  </code></pre>
  <p>It is a bit slow when i am trying it for one sample. Can we make it faster and run for all fastq.gz in a directory?
  How can i make it with bash ?</p>