title: JavaScript case insensitive sorting for HTML table
body: <p>How I just want to implement Case - Insensitive Sort in this Javascript code for my Table.
  How can this be possible?</p>
  <p>Please see below:</p>
  <pre><code>cPrev = -1; 
              
  function sortBy(c) {
      rows = document.getElementById(&quot;data_table&quot;).rows.length; 
      columns = document.getElementById(&quot;data_table&quot;).rows[0].cells.length; 
      arrTable = [...Array(rows)].map(e =&gt; Array(columns)); 
      for (ro=0; ro&lt;rows; ro++) {
          for (co=0; co&lt;columns; co++) {
              arrTable[ro][co] = document.getElementById(&quot;data_table&quot;).rows[ro].cells[co].innerHTML;
          }
      }
      
  }
  
  </code></pre>