instruction: Open the TickTick app and sort the tasks by due date.

previous_actions: 

active_application: Any.do

screen_description: windows {
  bounds_in_screen {
    right: 1080
    bottom: 128
  }
  id: 8
  layer: 1
  window_type: TYPE_SYSTEM
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 50
        right: 1027
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 469
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 469
        top: 1
        right: 587
        bottom: 128
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 587
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 152
        bottom: 128
      }
      class_name: "android.widget.TextView"
      content_description: "10:42 AM"
      text: "10:42"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 152
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 986
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 152
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 35
        right: 970
        bottom: 93
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi two bars."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 47
        right: 1006
        bottom: 81
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 152
        top: 1
        right: 210
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Snapchat notification: Randhir Kumar: Randhir Kumar"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 210
        top: 1
        right: 268
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Snapchat notification: Parul Sagar: Parul Sagar"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 268
        top: 1
        right: 326
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Snapchat notification: Sharavi: Sharavi"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 326
        top: 1
        right: 384
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "NykaaFashion notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 384
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Weather notification: 32°"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 402
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "TickTick notification: Mon, Jul 31"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 402
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Weather&Radar notification: Monsoon Stories"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 35
        right: 970
        bottom: 93
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 44
        right: 970
        bottom: 83
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 44
        right: 970
        bottom: 83
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 1258
  title: "Any.do"
  window_type: TYPE_APPLICATION
  is_active: true
  is_focused: true
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.LinearLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.view.View"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "androidx.drawerlayout.widget.DrawerLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.ViewGroup"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 1869
        right: 1080
        bottom: 2064
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 2064
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 2148
        right: 168
        bottom: 2253
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 210
        top: 2127
        right: 1038
        bottom: 2274
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 210
        top: 2127
        right: 1038
        bottom: 2274
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 210
        top: 2127
        right: 954
        bottom: 2274
      }
      class_name: "android.widget.TextView"
      text: "I want to…"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 954
        top: 2180
        right: 996
        bottom: 2222
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 275
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 275
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 275
        right: 1080
        bottom: 301
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 152
        right: 126
        bottom: 252
      }
      class_name: "android.widget.ImageButton"
      content_description: "Smart Cards"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 154
        right: 232
        bottom: 249
      }
      class_name: "android.widget.ImageButton"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 428
        top: 128
        right: 657
        bottom: 275
      }
      class_name: "android.view.ViewGroup"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 853
        top: 154
        right: 948
        bottom: 249
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 959
        top: 154
        right: 1054
        bottom: 249
      }
      class_name: "android.widget.ImageView"
      content_description: "Menu"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 275
        right: 1054
        bottom: 412
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 412
        right: 1080
        bottom: 549
      }
      class_name: "android.widget.RelativeLayout"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 549
        right: 1054
        bottom: 686
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 686
        right: 1080
        bottom: 823
      }
      class_name: "android.widget.RelativeLayout"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 823
        right: 1054
        bottom: 960
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 960
        right: 1054
        bottom: 1097
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 428
        top: 172
        right: 657
        bottom: 232
      }
      class_name: "android.widget.TextView"
      text: "ALL TASKS"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 307
        right: 959
        bottom: 381
      }
      class_name: "android.widget.TextView"
      text: "Today"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 959
        top: 275
        right: 1054
        bottom: 412
      }
      class_name: "android.widget.ViewAnimator"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 412
        right: 131
        bottom: 536
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 412
        right: 1027
        bottom: 516
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 527
        right: 214
        bottom: 538
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 1027
        top: 412
        right: 1069
        bottom: 549
      }
      class_name: "android.widget.ViewAnimator"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 581
        right: 959
        bottom: 655
      }
      class_name: "android.widget.TextView"
      text: "Tomorrow"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 959
        top: 549
        right: 1054
        bottom: 686
      }
      class_name: "android.widget.ViewAnimator"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 686
        right: 131
        bottom: 810
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 686
        right: 1027
        bottom: 790
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 801
        right: 214
        bottom: 812
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 1027
        top: 686
        right: 1069
        bottom: 823
      }
      class_name: "android.widget.ViewAnimator"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 855
        right: 959
        bottom: 929
      }
      class_name: "android.widget.TextView"
      text: "Upcoming"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 959
        top: 823
        right: 1054
        bottom: 960
      }
      class_name: "android.widget.ViewAnimator"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 992
        right: 959
        bottom: 1066
      }
      class_name: "android.widget.TextView"
      text: "Someday"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 959
        top: 960
        right: 1054
        bottom: 1097
      }
      class_name: "android.widget.ViewAnimator"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 959
        top: 275
        right: 1054
        bottom: 412
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 68
        top: 459
        right: 110
        bottom: 510
      }
      class_name: "android.widget.CheckBox"
      content_description: "Mark as complete"
      is_checkable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 412
        right: 1027
        bottom: 516
      }
      class_name: "android.widget.TableLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 527
        right: 148
        bottom: 538
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 1043
        top: 412
        right: 1043
        bottom: 412
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 959
        top: 549
        right: 1054
        bottom: 686
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 68
        top: 733
        right: 110
        bottom: 784
      }
      class_name: "android.widget.CheckBox"
      content_description: "Mark as complete"
      is_checkable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 686
        right: 1027
        bottom: 790
      }
      class_name: "android.widget.TableLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 801
        right: 148
        bottom: 812
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 1043
        top: 686
        right: 1043
        bottom: 686
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 959
        top: 823
        right: 1054
        bottom: 960
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 959
        top: 960
        right: 1054
        bottom: 1097
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 959
        top: 296
        right: 1054
        bottom: 391
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 412
        right: 1027
        bottom: 516
      }
      class_name: "android.widget.TableRow"
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 959
        top: 570
        right: 1054
        bottom: 665
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 686
        right: 1027
        bottom: 790
      }
      class_name: "android.widget.TableRow"
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 959
        top: 844
        right: 1054
        bottom: 939
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 959
        top: 981
        right: 1054
        bottom: 1076
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 412
        right: 412
        bottom: 516
      }
      class_name: "android.widget.FrameLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 412
        top: 511
        right: 412
        bottom: 516
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 686
        right: 398
        bottom: 790
      }
      class_name: "android.widget.FrameLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 741
        right: 545
        bottom: 790
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 136
        top: 454
        right: 412
        bottom: 516
      }
      class_name: "android.widget.TextView"
      text: "French classes"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 136
        top: 728
        right: 398
        bottom: 790
      }
      class_name: "android.widget.TextView"
      text: "Potluck Lunch"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 419
        top: 741
        right: 545
        bottom: 785
      }
      class_name: "android.widget.TextView"
      text: "Tue, 9 AM"
      depth: 15
    }
  }
}


assistant: !FUNCTIONCALL{"name": "open_app", "parameters": {"app_name": "TickTick"}}