sorttasks <criteria> [, <criteria> ... ]

sorttasks <criteria> [, <criteria> ... ]
Description

Determines how the tasks are sorted in the report. Up to 3 criteria can be specified. If one criteria is not sufficient to sort a group of tasks, the next criteria will be used to sort the tasks within this group.

AttributesNameTypeDescription
criteriaSORTINGCRITERIA

Possible values are fullnamedown, fullnameup, iddown, idup, indexdown, indexup, namedown, nameup, prioritydown, priorityup, responsibledown, responsibleup, sequencedown, sequenceup, tree

In addition the following values are supported as well. They specify scenario specific values so they can be prefixed with the ID of the scenario and a colon (e.g. plan:startup). If no scenario is specified, the default scenario is used. Possible values are completeddown, completedup, criticalnessdown, criticalnessup, enddown, endup, pathcriticalnessdown, pathcriticalnessup, startdown, startup, statusdown, statusup

Contextcsvtaskreport, htmlmonthlycalendar, htmlresourcereport, htmltaskreport, htmlweeklycalendar, resourcereport, taskreport,
InheritableNoScenario Spec.No

project test "Test Project" "$Id" 2000-01-01 - 2000-03-01

flags flag1, flag2, flag3, flag4

rate 100.0

resource r1 "FooResource 1" 
resource r2 "FooResource 2" 
resource r3 "FooResource 3" 
resource r4 "FooResource 4" 

account a1 "FooAccount 1" cost {
  account a3 "FooAccount 3"
}

account a2 "FooAccount 2" revenue {
  account a4 "FooAccount 4"
}

task t1 "FooTask1" {
  account a4
  task t1_1 "FooTask1_1" {
    flags flag2
    start 2000-01-01
    effort 20d
    allocate r1
    allocate r2
  }
  flags flag3
}

task t2 "FooTask2" {
  flags flag1
  start 2000-01-01
  duration 1d
  startcredit 10000.0
  account a4
}

task t3 "FooTask3" {
  flags flag4
  milestone
  start 2000-01-01
}

htmltaskreport "Report_task.html" {
  columns hierarchindex, name { title "Task Name" }, daily, effort
  sorttasks tree, startup, nameup
}

htmlresourcereport "Report_resource.html" {
}

htmlaccountreport "Report_account.html" {
  columns name, weekly
  hideaccount 0
}