title: array_multisort and dynamic variable options
body: <p>Im trying to sort any array with array_multisort and everything is working great.  However, based on conditions in my script, I need to change the options.  So What I have so far is this:</p>
  
  <pre><code>array_multisort(
   $sort1,SORT_ASC,
   $sort2,SORT_ASC,
   $sort3,SORT_ASC, 
   $arraytosort
  );
  </code></pre>
  
  <p>and what I would like to have is something like this:</p>
  
  <pre><code>$dynamicSort = "$sort1,SORT_ASC,$sort2,SORT_ASC,$sort3,SORT_ASC,";
  
  array_multisort(
   $dynamicSort, 
   $arraytosort
  );
  </code></pre>
  
  <p>Any suggestions?</p>