Sort the HTML list