title: php array_multisort how to but the SORT_ASC and SORT_DESC into variables
body: <p>Hi im interested to let my query tell my web app how to sort an array. </p>
  
  <p>Everything is working fine, but i can't figure out a clever way to have the URL (page.php?order=asc) grab that query with:</p>
  
  <pre><code>$order = $_GET['order'];
  </code></pre>
  
  <p>and put it into: </p>
  
  <pre><code>array_multisort($sort['name'], SORT_ASC, $array);
  </code></pre>
  
  <p>this doesnt seem to work:</p>
  
  <pre><code>$test = SORT_ASC;
  array_multisort($sort['name'], $test, $array);
  </code></pre>
  
  <p>Had a hard time googling for this, so hopefully some smart brain here can help me out :)
  thank you</p>