Issue #5779: Incoming parameter order of listener

target, selector --> selector, target