What do you mean by "first device plugged in"? If I connect two devices with an USB-C cable, which one is the "first device" then?
http://blog.teledynelecroy.com/2016/02/usb-type-c-cable-dete...
Different device types (like a powered hub or desktop monitor) can request different roles, and they'll have to sort it out during negotiation if there's a conflict. Sometimes a user-facing popup will ask you if you want to provide or take power from the other device.