sortAlphabetically throws an error
rebuild