Sort data sets from name or source