title: jQuery sortable cancel event if not valid
body: <p>I have a list which is sortable. Before I start sorting, I want to check if all the elements of that list are valid. If not, cancel the event and leave the list intact.</p>
  
  <p>You can find the code here
  <a href="http://jsfiddle.net/DZYW5/4/" rel="nofollow">http://jsfiddle.net/DZYW5/4/</a></p>
  
  <p>When I use this, the event is canceled, but the element is removed.</p>
  
  <pre><code>start: function (event, ui) {
      if (!valid()) {
          return false;
          // it cancel's but the element is removed...
      }
  }
  </code></pre>
  
  <p>Maybe I should implement a "beforeStart" event? Suggestions? </p>