How to sort by file type in sharepoint

anonimoosi 21 Reputation points
2022-04-14T00:27:11.56+00:00

Can someone advise how i can sort the file by file type?

For example, there are .docx, .csv, .pdf, .xslm etc and I want to sort it by extension so that in the ascending order, it will show all .csv first, followed by .docx, .pdf and lastly .xslm.

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,755 questions
0 comments No comments
{count} votes

Accepted answer
  1. CaseyYang-MSFT 10,326 Reputation points
    2022-04-14T02:46:41.933+00:00

    Hi @anonimoosi ,

    Are you using SharePoint online or SharePoint on-premises?

    1.You could use "Group by Type" option if you are using SharePoint online:

    192922-1.jpg

    Before: 192885-2.jpg After: 192800-3.jpg

    2.You could use sort option in library view settings if you are using SharePoint on-premises(this option is also available in SharePoint online):

    Library Settings > click your view to edit > Sort > First sort by the column: select Type(icon linked to document)

    192850-4.jpg

    Before: 192906-5.jpg After: 192887-6.jpg


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful