logo
search
SharePoint Document Issues

How to Reverse Image Order in SharePoint Image Gallery

Maira MehtabMaira Mehtab Oct 10, 2026 873 views

Question details

The user wants to dynamically sort images from newest to oldest in the SharePoint Image Gallery web part.

How to Reverse Image Order in the SharePoint Image Gallery
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.
Before you start

Ensure you have Site Member or Owner permissions to edit the SharePoint page and modify web part configurations.

Solution 1Recommended

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.

1
Edit the SharePoint page

Navigate to your SharePoint site, click the 'Edit' button in the top right corner of the page to enter edit mode.

2
Manually reorder the gallery

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.

3
Submit official feedback

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.

Submit a Feature Request and Order Manually
Alternative Approach: If you absolutely need dynamic sorting by date, consider using the Highlighted Content web part instead. It allows you to filter an image library and sort the results from newest to oldest, though it uses a card-based layout rather than a traditional gallery view.
Free Microsoft Office alternative

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. 1. Download the installer: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install the software: Run the installer and follow the on-screen instructions to set up WPS Office on your device.
  3. 3. Manage your files: Open WPS Office to effortlessly create, edit, and organize your documents and presentations before uploading them to your SharePoint site.
Completely free and lightweight Office suite alternativeSeamless format compatibility with Microsoft Word, Excel, and PowerPointEasily format and arrange images within your presentation slides and text documentsFamiliar, easy-to-use tabbed user interface for quick onboarding
microsoft office alternative - wps office

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.