Output sorting

This adds `--sort-by` option for listings.

Sorting by multiple fields is supported, e.g. `--sort-by=status,name`.

Ascending and descending sorting is supported, it is indicated via `+` (asc) or `-` (desc) after the field name, e.g. `--sort-by=status-,name+`. Ascending sorting is the default.