diff --git a/docs/UserGuide.md b/docs/UserGuide.md index 71c6d98ba41..c82e5f9b979 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -6,7 +6,7 @@ # SocialBook User Guide -SocialBook is a **desktop app for managing contacts, optimized for use via a Line Interface** (CLI) while still having the benefits of a Graphical User Interface (GUI). If you can type fast, SocialBook can get your contact management tasks done faster than traditional GUI apps. +SocialBook is a **desktop app for managing contacts, optimized for use via a Command Line Interface** (CLI) while still having the benefits of a Graphical User Interface (GUI). If you can type fast, SocialBook can get your contact management tasks done faster than traditional GUI apps. @@ -187,14 +187,16 @@ Examples: Sorts the list of persons being viewed by name or date of last visit in ascending or descending order. -Format: `sort parameter/order` +Format: `sort PARAMETER/ORDER` -* Sorts the displayed list of persons according to the specified order. -* Order can be specified as ascending by leaving the order blank or **a**/**asc**/**ascend**/**ascending** -* Order can be specified as descending by **d**/**desc**/**descend**/**descending** +* Sorts the contacts according to the parameter, in the specified order. +* By default, if `ORDER` is omitted, contacts will be sorted in ascending order based on the `PARAMETER`. +* An ascending order can be specified by replacing `ORDER` with `ascending` or its short form `asc`. +* A descending order can be specified by replacing `ORDER` with `descending` or its short form `desc`. Examples: * `sort n/` sorts by name in ascending order. +* `sort d/`, `sort d/asc`, `sort d/ascending` are all equivalent, and they sort the date of last visit in ascending order. * `sort d/desc` sorts by date of last visit in descending order. ### Viewing a person : `view`