motherless sorting, groups, galleries implemented