How to Sort SharePoint Pages by Most Viewed Articles
Question details
The user wants to display frequently viewed SharePoint pages or articles at the top of their site by sorting them by popularity.

- Product
- SharePoint
- Device & OS
- not provided
- Scenario
- Organizing FAQ or library pages within a modern SharePoint site to improve user navigation and content discovery.
- Observed behavior
- The goal is to automatically rank and display site pages so that the most frequently viewed articles appear first in the web part.
Ensure you have Edit permissions for the target SharePoint site and that the site is using the modern page experience.
Use the Highlighted Content Web Part to Sort by Popularity
The Highlighted Content web part dynamically rolls up content from your site and can automatically sort it based on user views.
By utilizing the built-in Highlighted Content web part, you can avoid manual sorting. The web part relies on SharePoint's internal search and analytics algorithms to automatically update the display order as page views change.
Navigate to your target SharePoint page and click the 'Edit' button in the top right corner of the screen.
Hover over the page canvas where you want the articles to appear, click the '+' icon, and search for 'Highlighted Content' to add it to your page section.
Click the pencil icon next to the web part to open the property pane. Set the 'Source' dropdown to either 'This site' or 'This site collection' depending on where your pages are stored.
Under the 'Type' dropdown menu, select 'Pages'. This ensures that only your site pages or articles are displayed, filtering out documents and list items.
Scroll down the property pane to the 'Sort by' dropdown menu and select 'Most viewed'. Republish the page to save your changes.

Create and Manage Your Documents with WPS Office
While SharePoint is excellent for hosting your site pages and intranets, creating the actual documents, guides, and materials shared across your team requires a reliable office suite. WPS Office is a free, lightweight alternative to Microsoft Office that offers a familiar interface and comprehensive document editing capabilities.
- 1. Download and Install: Visit the official WPS website to download the free installation package for your operating system.
- 2. Open or Create Documents: Launch WPS Office and click 'New' to create a document, or easily open existing Microsoft Office files.
- 3. Save and Upload: Save your documents in standard formats and upload them seamlessly to your SharePoint document libraries.

Frequently Asked Questions
Why is the 'Most viewed' sorting option not showing any pages?
This usually happens if the site is very new or the pages haven't generated enough traffic yet. SharePoint relies on search and usage analytics, which can take up to 24 hours to process and display view counts.
Can I filter the Highlighted Content web part to only show specific FAQ pages?
Yes. You can add a custom page property (like a 'Category' column) to your Site Pages library, tag your FAQ pages accordingly, and then use the 'Filter' option in the web part settings to only include pages with that specific property.
Does the 'Most viewed' metric include views from all time or just recent views?
By default, SharePoint's 'Most viewed' sorting in the Highlighted Content web part generally reflects lifetime views since the page was published, though recent trending algorithms can slightly influence the exact ranking.




