Can anyone help me out, I'm currently populating an array with the names of images contained within a directory on my servers hard disk.
From here I then loop through the array and output the names to display the images.
One thing I have noticed is that the images are not displayed in the order I would like them displayed and wondered how I could go about sorting the array.
At the moment I have six images: furious5_main.gif, furious5_1.gif, furious5_2.gif, furious5_3.gif, furious5_4.gif, furious5_5.gif - and I would like to display them in this order.
Does anyone have an suggestions as to how I could sort the array?