Sorts specs by name.