REDCORE-282 Maintain original resource order in ws documentation

After digging a bit in usort, there's no way for it - or any other array sort function - to keep the original order, because of a recent upgrade in PHP 4.1
So, and since this is just for documentation, I decided to populate the original order, but maintaining the displayGroup as the first criteria for grouping the resources.