You can manually give your miner best paying order, if you restart your miner, because system always assigns new connecting miner to best paying order.
Do not forget about speed limitations. If order is 0.9-1.2 x of limited speed, it will be skipped and assigned to next best paying.
So if I write a script that automatically restarts the miner if there is a new higher paying order, I will get paid more than everyone else? I already wrote a script that restarts it whenever there is a new "No limit" order, because your system just hates switching, even though it takes like 3 seconds, and I usually mine 1-2 BTC lower order because of that. I guess now I have to upgrade it to take that into account

Maybe I should just restart miner every 3 minutes?
Can't you just pay the average, so we don't have to rely on luck or write some bizzare scripts to restart the miner every N minutes?