Hi Mpeg,
What you want to achieve is up to your system settings: Systems>Settings. Filter key: context.
After that, in the Backend Manager group, set Context enable to Yes, Sort field: rank, Sort direction: ASC.
Now you can drag and sort the context in the resource tree.
I've tested and it worked for me.
I attached the picture below for more infos.
Good luck to you.