Test to check that 'sort' event is triggered in lieu of a 'reorder' even...

...t after collection#set

A test to ensure that a pull request such as #2595 doesn't come up again.