JQuery JSON Tumblr and Last.fm API--not appearing in correct order

JQuery JSON Tumblr and Last.fm API--not appearing in correct order

I have a list of my recent Tumblr audio posts coming in through the Tumblr API and with each post, an artist summary from the Last.fm API is attached. I have the data coming in correctly, but the audio posts are not showing up in chronological order. Every time I refresh the page, they appear in random order. I would like to have the most recent audio post appear at the top. Here is my code:
  1.  $(document).ready(function() { var user = "nycxnc"; var key = "###"; var type = "audio"; var limit = "5"; var url = "https://api.tumblr.com/v2/blog/" + user + ".tumblr.com/posts/" + type + "?callback=?&filter=" + type + "&limit=" + limit + "" + key + ""; $.getJSON(url, function(data) { $.each(data.response.posts, function(i, item) { var artist = item.artist; var track = item.track_name; var url2 = "http://ws.audioscrobbler.com/2.0/?method=artist.getInfo&track=" + track + "&artist=" + artist + "&api_key=###&autocorrect=1&format=json&callback=?"; $.getJSON(url2, function(data) { $.each(data, function(i, item) { artist_summary = item.bio.summary; artist_image = item.image[4]["#text"]; $(".au-wrapper").append( '<div class="audio-wrapper"><img src=' + artist_image + '><div class="audio-meta"><span class="audio-title">' + track + '</span><div class="audio-artist">' + artist + '</div></div><div class="url">' + artist_summary + '</div></div>'); }); }); }); }); });

I'm new to JQuery/Javascript and I'm creating this script as a learning experiment, so any help would be very appreciated. (: Thank you.