I may be wrong, but I don't think there is a set process (like standby).
The GA usually prefer someone that has the easiest reroute. This also results in the least amount of compensation. They also prefer those without checked luggage, though I think this is a minor consideration.
Maybe they were able to put someone on a direct flight to their destination (and arriving about the same time), or they were ending in next stop without checked luggage.