This sort criteria allows for sorting recent activity entries based on the
activity type field. The boolean constructor parameter indicates whether to
sort in ascending (true) order or descending (false) order.
Below are examples in JSON and XML formats. All examples are shown with all inherited members. Quoting when required is part of the examples, but you must obviously populate with your own data.