Potential fix for sorting issue on /resources.