Is it possible to sort collections and queries?
I'm not sure what you mean.
The results of a query? Those are sorted already, the same as any other folder.
Not a problem.
Collection and queries first appear in the order in which they are created, but become sorted after dopus is closed and then re-opened.
Where are you seeing that?
If it's in a file display, you may have turned off Preferences / File Operations / Copying Files / Sort newly created and copied files, but that would affect a lot more than just collections.