How to load terms in alphabetical order or in the same order they are in CMS?
For getting all child terms in a vocabulary try the following code.

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


The above code will give you child terms of that vocabulary in array $cc. For sorting in alphabetical order use asort($cc);

Hope this will help you.