Using scandir function then saving the output to a textfile
I'm using a scandir function doing an alphasort. Works fine but the problem comes with the result because it shows a descending order, not an ascending order. How do you output the result in an ascending order?
|