It's based completely off of luck, so it can get rather annoying. You have to find which trash can has the switch, then the second one will always be adjacent to the first. If you don't find the second one, the order is randomized, and you have to start over again.