Merge of workingSetReorder and workingSetSort events
Merge remote-tracking branch 'upstream/master' into tom/fix-issue-2076
Use sort when enabling automatic sort. Allow to register/get a sort method with a Command object. Refactored some code. Fixed some comments.
Merge with Master
Comments Fixes
Update workingSetSort event comments and a new workingSetDisableAutoSorting event
Comments spelling errors fixed
Merge pull request #3080 from TomMalbran/tom/fix-issue-2076

Fix #2076: Two indistinguishable events for different cases of working set reordering