Sort the content of survey groups and surveys