Changed method logic with ordering for creating new resources