Wie bekomme ich die Member nach Alphabet sortiert

Hallo kann mir jemand helfen ich versuche vergebens die member auf dieser Seite alphabetisch zuordnen der code sieht wie folgt auf:

body,td,th {
font-size: 16px;
}

<?php ini_set('user_agent', "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8) Gecko/20051111 Firefox/1.5");
$member = array(); $xmlfile = "[http://eu.wowarmory.com/guild-info.xml?r=Lothar&gn=N...](http://eu.wowarmory.com/guild-info.xml?r=Lothar&gn=Night+shade+plants)"; $url = @file\_get\_contents($xmlfile); $xml = simplexml\_load\_string($url); foreach ($xml-\>guildInfo-\>guild-\>members-\>character as $membercount1) { if ($membercount1["rank"] == 0 || $membercount1["rank"] == 1 || $membercount1["rank"] == 2 || $membercount1["rank"] == 3 || $membercount1["rank"] == 4 || $membercount1["rank"] == 5 || $membercount1["rank"] == 7 || $membercount1["rank"] == 8 || $membercount1["rank"] == 9) { $membercount = $membercount1; } } echo " "; echo ""; echo " "; echo " "; echo " Name"; echo " "; echo " "; echo " Level"; echo " "; echo " "; echo " Volk"; echo " "; echo " "; echo " Rang"; echo " "; echo " "; echo " $membercount Aktive Member"; echo " "; echo " "; echo " "; echo "  "; echo " "; echo "  "; echo " "; echo "  "; echo " "; echo "  "; echo " "; echo "  "; echo " "; echo " "; echo " "; foreach ($xml-\>guildInfo-\>guild-\>members-\>character as $member) { if ($member["rank"] == 0 || $member["rank"] == 1 || $member["rank"] == 2 || $member["rank"] == 3 || $member["rank"] == 4 || $member["rank"] == 5 || $member["rank"] == 7 || $member["rank"] == 8 || $member["rank"] == 9) { echo " "; echo "[".$member["name"]."](http://eu.battle.net/wow/de/character/lothar/%2522.%2524member%255B%2522name%2522%255D.%2522/simple)"; echo " "; echo " "; echo $member["level"]; echo " "; echo " "; echo " "; if ($member["genderId"] == 0) { if ($member["raceId"] == 2) { $rasse = ""; } if ($member["raceId"] == 5) { $rasse = ""; } if ($member["raceId"] == 6) { $rasse = ""; } if ($member["raceId"] == 8) { $rasse = ""; } if ($member["raceId"] == 10) { $rasse = ""; } } if ($member["genderId"] == 1) { if ($member["raceId"] == 2) { $rasse = ""; } if ($member["raceId"] == 5) { $rasse = ""; } if ($member["raceId"] == 6) { $rasse = ""; } if ($member["raceId"] == 8) { $rasse = ""; } if ($member["raceId"] == 10) { $rasse = ""; } } echo $rasse; echo " "; echo " "; echo " "; if ($member["classId"] == 1) { $klasse = ""; } if ($member["classId"] == 2) { $klasse = ""; } if ($member["classId"] == 3) { $klasse = ""; } if ($member["classId"] == 4) { $klasse = ""; } if ($member["classId"] == 5) { $klasse = ""; } if ($member["classId"] == 6) { $klasse = ""; } if ($member["classId"] == 7) { $klasse = ""; } if ($member["classId"] == 8) { $klasse = ""; } if ($member["classId"] == 9) { $klasse = ""; } if ($member["classId"] == 10) { $klasse = ""; } if ($member["classId"] == 11) { $klasse = ""; } if ($member["classId"] == 12) { $klasse = ""; } echo $klasse; echo " "; echo " "; echo " "; if ($member["rank"] == 0) { $rang = "Gilden Papa"; } if ($member["rank"] == 1) { $rang = "Meister"; } if ($member["rank"] == 2) { $rang = "Gildenrat"; } if ($member["rank"] == 3) { $rang = "Söldner"; } if ($member["rank"] == 4) { $rang = "Rudelführer"; } if ($member["rank"] == 5) { $rang = "Rudelgardist"; } if ($member["rank"] == 6) { $rang = "Twink"; } if ($member["rank"] == 7) { $rang = "Gardist"; } if ($member["rank"] == 8) { $rang = "Kämpfer"; } if ($member["rank"] == 9) { $rang = "Späher"; } echo $rang; echo " "; echo " "; } echo " "; } echo " "; ?\> Vieleicht könnt ihr mir ja den code so umbauen das es geht. MFG

Hi,
sorry, ich kann Dir leider nicht weiterhelfen

Ciao
Carsten

Sorry, aber mit PHP habe ich nix am Hut. Ich bin Entwickler mit Schwerpunkt C#.NET. Bei Fragen zu XML/XSL oder Webanwendungen mit ASP.NET kann ich auch meinen Senf dazugeben.

MfG,
Snoopy

Sehr geehrter Herr Karthaus,
leider kann ich ihnen bzgl der Sortierung in PHP nicht weiterhelfen da ich mich in PHP nicht auskenne.
mfg Gosdeck