<?php
$rate=array ( "M100B1000" => "40.00", "M1000B20000" => "80.00", "M500B10000" => "50.00", "MUnlimitedBUnlimited" => "240.00", "M5000BUnlimited" => "120.00 ") ;
ksort($rate);
print_r($rate);
?>
它提供排序率数组..
M1000B20000
M100B1000
M5000BUnlimited
M500B10000
MUnlimitedBUnlimited
我需要这种排序..
M100B1000
M500B10000
M1000B20000
M5000BUnlimited
MUnlimitedBUnlimited
给点思路...