View Single Post
  #1 (permalink)  
Old Apr 16th, 2008, 20:00
djeyewater djeyewater is offline
Junior Member
Join Date: Oct 2007
Location: UK
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Need help sorting an array

I have an array that contains values like _img_1.png, _img_2.png, _img_3.png, Back.png. How can I sort them so that they appear in this order? I've tried sort() and natsort() but Back.png is always appearing at the start of the array.
Reply With Quote