locked
Sharepoint sort problem RRS feed

  • Question

  • I have a list in sharepoint that contains both folders and a couple of text files. I want to display the text files at the top of the list in alpha order followed by the folders in alpha order. I went into modify the view and tried sorting by type and then name but it doesn't work (tried it both acscending and descending). Thought about sorting it by content type but that column is not a choice in the sort option.

     

    Friday, October 28, 2011 2:56 PM

Answers

  • In the Create/Edit View page, in the Sort section, there's a checkbox to Sort only by specified criteria (folders may not appear before items).  Did you check this?  I was able to display items above my folders in this manner.

    HTH

    - M


    Michael Mukalian | Jan 2010 - Dec 2010 MVP SharePoint Services | MCTS: MOSS 2007 Configuration | http://www.mukalian.com/blog
    • Proposed as answer by Marijn SomersMVP Friday, October 28, 2011 3:24 PM
    • Marked as answer by GuYuming Monday, October 31, 2011 8:40 AM
    Friday, October 28, 2011 3:14 PM

All replies

  • In the Create/Edit View page, in the Sort section, there's a checkbox to Sort only by specified criteria (folders may not appear before items).  Did you check this?  I was able to display items above my folders in this manner.

    HTH

    - M


    Michael Mukalian | Jan 2010 - Dec 2010 MVP SharePoint Services | MCTS: MOSS 2007 Configuration | http://www.mukalian.com/blog
    • Proposed as answer by Marijn SomersMVP Friday, October 28, 2011 3:24 PM
    • Marked as answer by GuYuming Monday, October 31, 2011 8:40 AM
    Friday, October 28, 2011 3:14 PM
  • Try by type desc and name asc and check the box: <label for="OverrideOrderBy">Sort only by specified criteria (folders may not appear before items).
    AK</label>
    Friday, October 28, 2011 3:25 PM