glance
glance copied to clipboard
docker-containers is always sorted alphabetically
Description
When using type: docker-containers with explicit entries, i.e. hide-by-default: true and then a couple of entries with hide: false, the entries are sorted alphabetically. It would be great if it would preserve the order that we declare them in the YAML, similar to how type: monitor works
This might also be a feature request, not sure which would apply best.
I think this is more of a feature request since it's currently working as intended. While using the order in the YAML would work, you'd need another way to order the ones defined by labels, and then what happens if you mix and match. Something like glance.order: 1 as the label or order: 1 which would put that container first, 2 for second, etc, would work for both.