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 accounts, the next criteria will be used to sort the accounts within this group.

AttributesNameTypeDescription
criteriaSORTINGCRITERIA

Possible values are completeddown, completedup, criticalnessdown, criticalnessup, enddown, endup, fullnamedown, fullnameup, iddown, idup, indexdown, indexup, namedown, nameup, pathcriticalnessdown, pathcriticalnessup, prioritydown, priorityup, responsibledown, responsibleup, sequencedown, sequenceup, startdown, startup, statusdown, statusup, tree

Contextcsvtaskreport, 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 a2
}

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
}