groupsortIndexerTest & formatting