Nice usage of sort_by instead of sort!