is there a command that will sort a list of variables into alphabetical order of their values? eg if i have a variable $list how can I re-order the values (strings) alphabetically
enter the values into an array then sort them using this cose
sort($arrayname); while (list($indexval, $arrayname) = each ($arrayname)) { print ("<br>$indexval - $arrayname"); }
If you need a job doing properly do it yourself! 🙂