title: How to sort using jQuery Facebook multi-friend-selector
body: <p>I am using a jQuery Multi-Friend Selector form this site;
  <a href="http://mike.brevoort.com/2010/08/10/introducing-the-jquery-facebook-multi-friend-selector-plugin/" rel="nofollow">http://mike.brevoort.com/2010/08/10/introducing-the-jquery-facebook-multi-friend-selector-plugin/</a></p>
  
  <p>And it works great for what i need, except it does not sort the friends alphabetically. I have isolated where the friends are being pulled from facebook, but have no clue how to sort them.  Any ideas?</p>
  
  <pre><code>FB.api('/me/friends', function(response) {
      $.each(response.data, function(i, friend) {
        $("#jfmfs-friend-container").append("&lt;div class='jfmfs-friend' id='" + friend.id  +"'&gt;&lt;img src='https://graph.facebook.com/" + friend.id + "/picture' /&gt;&lt;div class='friend-name'&gt;" + friend.name + "&lt;/div&gt;&lt;/div&gt;");
      });
    init();
  });
  </code></pre>
  
  <p>Thanks everyone</p>