There should be an option to do this. I tried

/isort condition inventory id asc

but it does not sort equipment by item ID and does some weird kind of sorting that I can't see a pattern to.

This should be fixed, or alternatively, there should be a "job" argument in isort so you can sort items by equippable class. Something like /isort condition inventory job des