Hi eldong,
Try this way
1. Open file "\CuteSoft_Client\Gallery\Layout\SlideShow\Code.js"
2. Add the method below to the top of the page above
function BubbleSort(arr)
{
var temp;
var exchange;
for(var i=0; i<arr.length; i++)
{
exchange = false;
for(var j=arr.length-2; j>=i; j--)
{
if(GalleryFormatTimeHTML(arr[j+1].Time) <GalleryFormatTimeHTML(arr[j].Time))
{
temp = arr[j+1];
arr[j+1] = arr[j];
arr[j] = temp;
exchange = true;
}
}
if(!exchange) break;
}
return arr;
}
3. Fine section below (line 113)
var photos=[];
for(var i=0;i<this._categories.length;i++)
{
photos=photos.concat(this._categories[i].Photos);
}
4. Add the section below under the section above
photos=BubbleSort(photos);
5. Fine section below (line 178)
div.appendChild(nobr);
this.items=[];
6. Add the section below under the section above
photos=BubbleSort(photos);
7. Find section below (line 555)
if(photos.length==0)
return null;
8. Add the section below under the section above
photos=BubbleSort(photos);
Regards,
Ken