PAGE HAVE just 2 BUTTON 1 IMAGE OBJECT (folder with 1000 jpg IMAGES)

1 Button NEXT IMAGE onClick (show next ALPHABETIC sort image on image object)

2 Button PREVIOUS IMAGE onClick(show previous ALPHABETIC sort image on image object)

Please help me with CODE for this.

Important is to be Alphabetic witouth rename image files