Why?
Should it not be the most appropriate train for connections in each direction?
Should it not be the train which has the most slack?
Shouldn't it always be the longer train so that it's providing the most capacity for the train that makes most stops?
Shouldn't it always be the shorter train to reduce the operational cost for stops for just a handful of people?