open(F,"csv.csv");
while(<F>){
$hash{(split(/,/))[2]}=$_;
}
close(F);

foreach (sort {$a<=>$b} keys %hash){
print $hash{$_};
}