title: Chosen jQuery plugin : get multiple select values in the order they were clicked
body: <p>I use Chosen jQuery plugin on a multiple select element.</p>
  
  <p>I want to retrieve and to display the options value in the order they were selected (clicked).</p>
  
  <p>For example, if I click on "Three", "Two" then "One", I should get the values in this order: <code>[3, 2, 1]</code></p>
  
  <p>I use the 'change' event of Chosen but it gives me the values ordered as they are declared in the DOM. i.e.: <code>[1, 2, 3]</code></p>
  
  <p>Here is my code snippet:</p>
  
  <pre><code>&lt;select class="chosen" data-order="true" name="multiselect[]" id="multiselect" multiple="true"&gt;
      &lt;option value="1"&gt;One&lt;/option&gt;
      &lt;option value="2"&gt;Two&lt;/option&gt;
      &lt;option value="3"&gt;Three&lt;/option&gt;
      &lt;option value="4"&gt;Four&lt;/option&gt;
      &lt;option value="5"&gt;Five&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;div id="result"&gt;&lt;/div&gt;
  
  &lt;script type="text/javascript" src="jquery-1.11.0.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="chosen.jquery.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
      $(".chosen").chosen({enable_search_threshold: 10}).change(function(event) {
          if(event.target == this) {
              var value = $(this).val();
              $("#result").text(value);
          }
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>jsFiddle demo: <a href="http://jsfiddle.net/FjET4" rel="noreferrer">http://jsfiddle.net/FjET4</a></p>