Formats are now sorted before getting HTML links