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.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to 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?