title: How do I get distinct values from an array stored in MySQL?
body: <p>I have a MySQL field which stores an array with 3 values: </p>
  
  <pre><code>array(item1=&gt;1123, item2=&gt;5454, item3=&gt;23432)
  </code></pre>
  
  <p>How can I query the database with PHP so that I get only distinct values of <code>item2</code> and then arrange those results by the values of <code>item3</code>?</p>