15237: infobox priority not working

15237: infobox priority not working. Adding code to sort sidebar infoboxes content by priority