sort units by name