How to Reverse Image Order in SharePoint Image Gallery
Question details
The user wants to dynamically sort images from newest to oldest in the SharePoint Image Gallery web part.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Displaying a collection of images chronologically (newest first) within a SharePoint site, particularly when using a brick layout.
- Observed behavior
- The SharePoint Image Gallery web part currently lacks a built-in configuration or setting to reverse the image display order automatically.
Ensure you have Site Member or Owner permissions to edit the SharePoint page and modify web part configurations.
Submit a Feature Request and Order Manually
Because SharePoint does not natively support dynamic reverse sorting in the Image Gallery, the best immediate approach is manual sorting and submitting a feature request to Microsoft.
The standard SharePoint Image Gallery web part does not include an out-of-the-box configuration to sort images from newest to oldest dynamically, even in advanced layouts like brick mode.
Navigate to your SharePoint site, click the 'Edit' button in the top right corner of the page to enter edit mode.
Select the Image Gallery web part and click the 'Edit web part' pencil icon. Depending on your chosen layout, you may need to manually drag and drop the selected images into your preferred reverse chronological order.
Visit the official Microsoft SharePoint Feedback portal and submit a feature suggestion detailing the need for newest-to-oldest sorting in the Image Gallery web part.

Manage Your Documents and Presentations with WPS Office
While SharePoint is great for intranet sites, managing the actual documents, images, and presentations you upload is easier with a lightweight, fully compatible office suite. WPS Office is a powerful, free alternative to Microsoft Office that makes editing a breeze.
- 1. Download the installer: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install the software: Run the installer and follow the on-screen instructions to set up WPS Office on your device.
- 3. Manage your files: Open WPS Office to effortlessly create, edit, and organize your documents and presentations before uploading them to your SharePoint site.

Frequently Asked Questions
Can I use custom code to reverse the image order in SharePoint Online?
Modern SharePoint Online pages do not allow direct script injection into out-of-the-box web parts. To achieve automated custom sorting, a developer would need to create a custom SPFx (SharePoint Framework) image gallery web part.
Does the Highlighted Content web part support image sorting?
Yes, the Highlighted Content web part allows you to display files from a Document Library or Site Asset folder and sort them by 'Created' or 'Modified' date in descending order. However, the visual layout options differ from the standard Image Gallery.
Will Microsoft add sorting capabilities to the Image Gallery?
Microsoft continuously updates SharePoint based on user feedback. Submitting a request through the SharePoint Feedback portal is the best way to encourage the development team to add dynamic newest-to-oldest sorting.




