Yeah, I can confirm the middle-click function isn't working. Double-click to sort works fine, as well as all the other functions of EcoSort. Its just the middle-click action.
The Middle-click function does exactly the same thing as the Double-right click sort. It was just a different option for keybind. If you want to sort stuff, use the Double-right-click function.
Middle-Click does not work in MC 1.18+ because of client changes. There won't be any errors, middle-click will simply not be detected. Looks like we are waiting on the developer to update the plugin since 1.18. In the meantime @ClarinetPhoenix can make some wiki changes to address this. It doesn't look like any functionality was lost however. Clare can explain more.