title: Arranging all rows of a table based on value of some column, such as rows which have same value of some column needs to be shown together
body: <h1>QUESTION</h1>
  
  <p>Arranging all rows of a table based on value of some column, such as rows which have same value of some column needs to be shown together</p>
  
  <h1>TABLE</h1>
  
  <pre><code>EmpId         EmpName        Home Place
  101           Ram           Delhi
  102           Mohan         Mumbai
  103           Shyam         Kolkata
  104           Jack          Delhi
  105           Sham          Mumbai
  </code></pre>
  
  <h1>VIEW REQUIRED</h1>
  
  <pre><code>101           Ram           Delhi
  104           Jack          Delhi
  102           Mohan         Mumbai
  105           Sham          Mumbai
  103           Shyam         Kolkata
  </code></pre>