You could try this function:
function priceCmp($a, $b){
$a1=explode('","',$a);
$b1=explode('","',$b);
if ($a1[7] == $b1[7])
return 0;
else if ($a1[7] > $b1[7])
return 1;
else return -1;
}
then sort the arry like this:
uasort($array, priceCmp);
worked with my text delimited text file a treat.