From a3c1578e688b3290ab23c5ad4e3e10677a77724f Mon Sep 17 00:00:00 2001 From: Markus Meissner Date: Mon, 28 Feb 2022 16:41:15 +0100 Subject: [PATCH] update docs for multi-col sorting #67 --- docs/example-cfg-sorting-strict.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/example-cfg-sorting-strict.md b/docs/example-cfg-sorting-strict.md index ba3a3f3..3acc34a 100644 --- a/docs/example-cfg-sorting-strict.md +++ b/docs/example-cfg-sorting-strict.md @@ -33,4 +33,17 @@ columns: data: battery_level ``` +Furthermore it is possible to use `sort_by` with multiple columns, by passing a list of columns +like this: + +``` +sort_by: [battery+, name-] +``` +alternatively using the line-wise list notation: +``` +sort_by: + - battery+ + - name- +``` + [Return to main README.md](../README.md)