ordering resources