Display manually reordered media files in the backend

In Sitefinity CMS backend, you can reorder media files - Images, Videos, and Documents. However, in the backend grid, you cannot see the newly created order. The order applies only to the frontend widgets, for example, the Image Gallery widget. 

To change this, you can add the filter to the configuration, by performing the following:

  1. Open your ~/App_Data/Sitefinity/Configuration/ContentViewConfig.config file.
  2. Inside the <sortingExpressionSettings> section, add the following lines:
  3. Restart your application.
    You can see the reorder you have made in the backend grid.

    NOTE: If you are running Sitefinity CMS version 7.x and above, the system creates an automatic label in the Sort by: dropdown box labeled As manually ordered. Otherwise, you must manually add three labels with KeyAs manually ordered and TypeImagesResources, VideosResources, and DocumentsResources, respectively.

  4. Refresh the backend page that displays the grid.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?