Skip to content

Commit

Permalink
Update UG
Browse files Browse the repository at this point in the history
  • Loading branch information
siqirua committed Nov 13, 2023
1 parent 12b4f71 commit 0cf88f7
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,16 @@ Sorts students' data by the given criteria.

Format: `sortStu [o/SORTING_ORDER] [r/REVERSE_ORDER]`

* The sorting order keyword must be one of the acceptable description given below: <br> "n",
"name", "s", "studentId", "studentID", "e", "email", "g", "tutorial", "tut",
"tutGroup", "ts", "totalScore", "totalscore", "score".
* The sorting order keyword must be one of the acceptable description given below: <br>

| Accepted keywords | Field to be sorted | Description |
|------------------------------------|--------------------|-----------------------------------------------------|
| `n`, `name` | `n/` | Name of the student by alphabetical order |
| `s`, `studentId`, `studentID` | `s/` | Student ID of the student by alphabetical order |
| `e`, `email` | `e/` | Email of the student by alphabetical order |
| `g`, `tutorial`, `tut`, `tutGroup` | `g/` | Tutorial group of the student by alphabetical order |
| `ts`, `totalScore`, `score` | NIL | Total score of the student by numerical value |

* The reverse order keyword must be one of the acceptable description given below: <br>
"decreasing", "0", "false", "f" (These 4 keywords have the same effect), "increasing", "1", "true", "t" (These 4
keywords have the same effect).
Expand Down

0 comments on commit 0cf88f7

Please sign in to comment.