successfully sorting heroes by name