Drupal 7 :- Load Taxonomy terms in alphabetical order

Getting all child terms in a vocabulary try the code.

  $cc=array();
  $tax=taxonomy_vocabulary_machine_name_load($name);
  $vid= $tax->vid;
  $child_terms = taxonomy_get_tree($vid);
  foreach($child_terms as $values) {
  $tname=$values->name;
  $cc[] = $tname;
  }