massmessage sort instance list

If there are many instances it is quite hard to find one in the massmessage dialog. To make it a bit easier this sorts them alphabetically.

Please note that I added sorting in `model.instance.all()` as this was simplest and I figured it may be useful in other places as well.