add sorting and accordion of lists in groups