Yes when you select categories it will arrange the posts in those categories according to date. If you want to group every category together then you can also make several galleries and select one category for each of them. However, if you want to reorder the posts on the gallery page you can change the publishing date on the individual posts. This will make it show up in the order you want.

Cheers 🙂