ok i have the following script:
while( $file = readdir( $directory ) )
{
$file_ar[] = $file;
}
while (list ($key, $file) = each ($file_ar))
{
(it's not all there for space sake)
what this does is list all the files in a directory. I need to order the file's by file name is this posible and if so how?