Both the Error List and the Task List have support for multi-column sorting, like secondary sort (and can someone remind me what’s the term for 3rd-ary – the term that comes after secondary). 

For example, you want to sort all Tasks (or Errors) by File first, then by Line Number, so you can go through each file in the order in which the Tasks (or Errors) appear.

To do a secondary sort

  1. Click on the column that you wish to have as primary sort (like File)
  2. Shift+Click on the next column you wish to have as secondary sort (like Line Number)
  3. Rinse and Repeat for other columns

For the Task List, you can see how things are sorted first by File, then by Line number.

Task List displaying secondary sort

Same for the Error List

Error List Displaying Secondary Sort

Technorati Tags: VS2005Tip,VS2008Tip