Made priority-fn act on *seq* of arguments