I have a php array $data which contains a list of files
[3945] => 6358--338940.txt
[3946] => 6357--348639.txt
[3947] => 6356--348265.txt
[3948] => 6354--345445.txt
[3949] => 6354--340195.txt
I need to order the array using the the numeric value after -- in the filename. How to do that ?
Thanks Regards