This patch makes HWR_SortVisSprites faster by replacing selection sort (O(n^2)) with quicksort. (O(n \log n))
O(n \log n)
changed milestone to 2.2.5
added Enhancement label
mentioned in commit 7317bbb6
This will create a new commit in order to revert the existing changes.