User commands, templates, flags, and argument order

To clarify the results of my testing, you are correct in that items are passed in sort order. Click/Select-order is not used.

Many Windows programs use the click or selection order. This can be very convenient, as it allows a rapid way to ensure one gets the first selected item targeted as the topmost open document, etc.

(I recently commented elsewhere about this very topic: http://yabb.jriver.com/interact/index.php?topic=77102.msg523782#msg523782)