I suggest you ...

Custom Sort Order for TFS Fields

At the moment is very difficult to get a good sort order for any field that is not-numerical. Give me the ability, either when I create a field, or when I create a query, to set a custom sort order.

This comes up all the time. But here are two examples.

Status: I have New, Active, Closed. I'd like to have the sort order match the chronology of the workflow, but all I can get is alphabetical.

Stack Rank: We use stack rank to organize the most pressing work item, but don't apply it to all items in our backlog. However, when i sort on this field ascending items that don’t have any rank at all are always put first. I need them on the bottom.

32 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    John SBJohn SB shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
    MichelleMichelle shared a merged idea: Would like a way to customize SORT function, currently only way is alphabetically in ASC/DSC order  ·   · 
    PaulPaul shared a merged idea: provide ability for changing the default pick lists sort order  ·   · 

    4 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Demitrius NelonDemitrius Nelon commented  ·   ·  Flag as inappropriate

        I implemented a painful work around by adding a WITStateSortOrder field and using the copy action WHEN the state changes to achieve this.

      • Visual Studio ALM TeamVisual Studio ALM Team commented  ·   ·  Flag as inappropriate

        Great feedback. This has long been a request by our customers. Thanks for submitting.

        Gregg Boer - MSFT / TFS Product Group

      • PaulPaul commented  ·   ·  Flag as inappropriate

        whoops ... cut-n-paste this twice:

        Beta Testing
        Design
        Implementation
        Integration Testing
        Post Release
        Requirements
        System Testing
        Unit Testing

      • Visual Studio teamAdminVisual Studio team (Product Team, Microsoft) commented  ·   ·  Flag as inappropriate

        Thanks for the idea, John. A note about the stack rank scenario: we changed the sort order behavior for numbers in the next version of the product to take into account this scenario. Now, blank values are sorted at the end of the list rather than the front.

        Jon Tsao, Program Manager, Team Foundation Server

      Feedback and Knowledge Base