beautify names and sorting