sort indexes are added based on the resources GetSort()
not as fast, but much cleaner resource update