Fixed an issue where the order of the search results would vary.

This issue was caused by the asynchronous nature of retrieving the rendered search results meaning that while the results were ordered in an array, the results were rendered based on the order in which they were downloaded so they could appear to be in a different order as the download is asynchronous.