Changing the order of resources