Correctly naming in view.tests
Sort pending runs by priority

Only in visualization, not at the DB query becuase we want finished
runs to remain sorted by date.