title: How to sort <table> data with PHP
body: <p>One of the things I need to do on an assignment is showing information about registered users in a table. It has to be sorted in different ways by clicking buttons (gender, first name, last name, ...).</p>
  
  <p>I'm writing this in PHP. The only thing I came up with is working with different pages, but  I would get about 20 different pages.</p>
  
  <p>What would be the best way to implement this? A different page for every order type?<br /> 
  I've never worked with jQuery, but it would seem it would be good for this sort of thing? </p>