when you right-click to open only the context menu, the context menu is now opened and sorting is triggered. To open only the context menu, you need to try to send to the free zone from the name of the column.
https://jsfiddle.net/u37h1kp4/
http://joxi.ru/zANYxowhBeDyx2
[GH #5382] When you right-click on the name of the column, do not sort
Thank you for sharing the proposition @pontiac358
I have added the idea to our Github board https://github.com/handsontable/handsontable/issues/5382