changing order of resources