From fb3a49b9bd1863f462e99ab8e4781dacd13508b2 Mon Sep 17 00:00:00 2001 From: Kyle Conroy Date: Mon, 18 Nov 2024 09:11:05 -0500 Subject: [PATCH] explain sort_by options --- jdaviz/core/template_mixin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jdaviz/core/template_mixin.py b/jdaviz/core/template_mixin.py index d5d40a4af6..97716728ee 100644 --- a/jdaviz/core/template_mixin.py +++ b/jdaviz/core/template_mixin.py @@ -1472,7 +1472,9 @@ def __init__(self, plugin, items, selected, viewer, What mode to use when making the default selection. Valid options: first, default_text, empty. sort_by : str, optional - How to sort the ordering of items. Valid options: zorder, icon + How to sort the ordering of items. Valid options: zorder (top layers are first), + icon (alphabetical by icon, effectively by order in which layers were first + added and assigned an icon) """ super().__init__(plugin, items=items,