title: ASP.NET GridView Sorting Implementation & Event Handling
body: <p>Can someone share how to practically implement gridview sorting and handle that event if:</p>
  
  <blockquote>
    <ol>
    <li>The data is binded manually</li>
    <li>Gridview is built using template field that is pumped from code behind only (not from the markups)</li>
    </ol>
  </blockquote>
  
  <p>I build my gridview solely from codebehind therefore I can't use the default method or solution.</p>
  
  <p>Thank you</p>