As far as I know, you'd have to do this with custom code.
The approach here would be "unprotect-sort-protect", which you would
wrap into a lightweight sub / function.
I am not familiar with IRM at all, so I can't help you there.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.