$currency[0] = '$';
$currency[1] = 'WON';
$currency[2] = 'A$';
$currency[3] = '€';
$currency[4] = '¥';
I want to sort $currency
using usort()
. But I want $
to be first and then ¥
be the second and then the rest will be sorted alphabetically. Is it possible using usort()
?