Skip to content

Instantly share code, notes, and snippets.

@squarelabsgit
Created June 30, 2023 22:11
Show Gist options
  • Select an option

  • Save squarelabsgit/a989c0148cbb53150eb18742b8534402 to your computer and use it in GitHub Desktop.

Select an option

Save squarelabsgit/a989c0148cbb53150eb18742b8534402 to your computer and use it in GitHub Desktop.
Sorting Maps - Sorted Task List

Sorted List of JSON Maps

[
  {
    "id": "5775875000000545584",
    "Task_Name": "Create Purchase Order",
    "Status": "In Progress",
    "Due_Date": "2023-06-06"
  },
  {
    "id": "5775875000000545580",
    "Task_Name": "Run Competitor Analysis",
    "Status": "Not Started",
    "Due_Date": "2023-06-08"
  },
  {
    "id": "5775875000000545583",
    "Task_Name": "Follow up",
    "Status": "In Progress",
    "Due_Date": "2023-06-21"
  },
  {
    "id": "5775875000000545579",
    "Task_Name": "Prepare Report",
    "Status": "In Progress",
    "Due_Date": "2023-07-01"
  },
  {
    "id": "5775875000000545581",
    "Task_Name": "Get Approval of Scope",
    "Status": "Not Started",
    "Due_Date": "2023-07-15"
  },
  {
    "id": "5775875000000545582",
    "Task_Name": "Send Project Invoice",
    "Status": "Not Started",
    "Due_Date": "2023-07-22"
  }
]

Sorted Task List Table

id Task_Name Status Due_Date
5775875000000545584 Create Purchase Order In Progress 2023-06-06
5775875000000545580 Run Competitor Analysis Not Started 2023-06-08
5775875000000545583 Follow up In Progress 2023-06-21
5775875000000545579 Prepare Report In Progress 2023-07-01
5775875000000545581 Get Approval of Scope Not Started 2023-07-15
5775875000000545582 Send Project Invoice Not Started 2023-07-22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment