Card ranking
Introduction
Card ranking allows users to use the grid view to simulate a physical card wall by positioning cards the way you want to organize them.
We believe that card ranks are meaningful in the context of many cards. With this concept Mingle allows users to express the subjective importance between cards. For example, if a project manager feels that Card A is more important than Card B or needs to be developed first, she can position Card A above Card B in grid view.
Every card in a project has a rank. Upon card creation the new card is ranked below existing cards.
How to rank cards
Rank is the default selection for the sort by menu in the grid view. Therefore, all cards displayed in the grid view are sorted by their current card rank when you first come to the grid view. To change a card's rank you need to explicitly turn on ranking mode. This is to prevent users from changing card rankings accidentally by making their current ranking mode more obvious.
Ranking mode on/off button
The ability to rank cards is turned off by default so you have to manually turn on ranking mode to be able to change card rankings. Providing an explicit way to indicate to users that the ability to rank cards is on, helps to prevent accidentally changing card rankings.
When the ranking mode is turned off:
When the ranking mode is turned on:
Notice that when the ranking mode is on, the background color on grid view is also changed to light green.
You can rank a card by dragging and dropping just like how you manage cards in the grid view. Once the ranking mode is on, you can drag and drop cards as you want. You will notice that the blue card rank indicator will be provided as you move cards. This card rank indicator shows where this moving card will be dropped so that it is easier for you to know how this card will be ranked.
In the example below, the business analyst Britney opens her story wall grid view, and notices that card number #11 was critical (red color) but was ranked at the bottom of the 'In Analysis' lane, so she turns on the ranking mode in grid view.
She now drags card number #11 and drops it at the top of the lane.

Only full project members and project or Mingle administrators can rank cards. Read only, light and anonymous users cannot rank cards.
Please note that card ranks are not displayed and changes to the card rank are not recorded in project history. This means you cannot trace who changed a card's ranking or when a card's ranking was changed anywhere in the project.
Using card rank in table query
After you rank the cards in grid view, you can order cards by rank in a table query. Please note that the actual number rank of the card is not displayed in the table query. The cards will simply be listed in the order they have been ranked. Also, MQL's ORDER BY works in the same way as SQL's ORDER BY. Please refer to SQL for more information.
table query: select name, number where type is story ORDER BY PROJECT_CARD_RANK

Understanding the Ranking Rule
There is one ranking rule.
When a card moves for ranking, move it as little as possible.
In the following examples we have cards ranked in this order.
Now suppose we have a grid lane with the following cards.
Moving Up
Action: Drag card E between card A and card C.
This will rank the moved card immediately before the card it is dragged above. Below are the card ranks for all 5 cards.

Moving Down
Action: Drag card A between card C and card E.
This will rank the moved card immediately before the card it is dragged above. Below are the card ranks for all 5 cards.
