Is there a way to determine the order of items on a circuit?
To figure out the order of items on a circuit:
(warning, tedious and laborious, but accurate)
First, sort out which items are on the circuit - i.e. what turns off/on with the breaker.
Turn the breaker off.
Pick any device on the circuit, open it up. If there's only one cable coming into the box, close it up again, noting that it's an end.
If there are two or more cables coming into the box, note exactly what is connected to exactly where, and disconnect one cable. Turn the breaker on and see what no longer works.  Note that those things are &quot;downstream&quot; of the item in question. Turn breaker off and repeat if there are more than two cables. Reassemble everything as it was, move to the next device location, repeat.
If you find any &quot;backwired&quot; connections, remove them and move that wire to the associated &quot;side screw&quot; when reconnecting.