Sort methods by name.