I have array of urls stored. Every url has some format. I need to sort the urls array. Like
https://s3.amazonaws.com/photos/1358086239.jpg?response-content-type=image%2Fjpeg&AWSAccessKeyId=AKIAI2U3TRTNGXNCQHYQ&Expires=1359636889&Signature=l9GnekYT0wK9AznkPWWjBuCRgBY%3D
https://s3.amazonaws.com/photos/1358066630.jpg?response-content-type=image%2Fjpeg&AWSAccessKeyId=AKIAI2U3TRTNGXNCQHYQ&Expires=1359636889&Signature=l9GnekYT0wK9AznkPWWjBuCRgBY%3D
These urls are reutned by amazon S3 PHP SDK get_object_url method.
I have 1000 of these urls but i want to sort these urls based on 1358086239.jpg
value this value is everytime an integer value and i want to sort urls in Asc order based on this value.
How can i sort these urls array. i tried using php builtin function ksort() But it did not helped.