Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-14272

Ability to sort branches with names like PROJECT-nnnnnn by nnnnnn in reversed order

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • UX
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Jira names stories as PROJECT-<number>. It is a good practice to name matching development branches as PROJECT-<number>_<some description>

      In the list of branches those branches are in alphabetical order of the entire string of a name.

      • PROJ-1
      • PROJ-10
      • PROJ-11
      • PROJ-2
      • PROJ-20
      • ...
      • PROJ-8866
      • PROJ-8867

      This order is not logical and when corporate repository has few thousands branches, it is keeping the latest most likely active branches ( e.g. PROJ-8867 )very far down 

      I propose to sort branches treating their names as a set of 3 fields

      1. <project> - ascending
      2. <number> - descending - it would place work on more recent Jiras on top 
      3. <rest of the text> - ascending

      In this case branches from the list above would be sorted as

      • PROJ-8867
      • PROJ-8866
      • ...
      • PROJ-20
      • PROJ-11
      • PROJ-10
      • PROJ-2
      • PROJ-1

      Now branches are really in proper order and newer branches are easy to reach on top.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ffbeb9a7c4bb Lenny Shleymovich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: