deterministically display container ports by jesseduffield · Pull Request #390 · jesseduffield/lazydocker (original) (raw)

Turns out that when a container has multiple ports, they're not deterministically ordered, which causes an annoying flickering effect as they're constantly swapped.

This fixes that by sorting alphabetically.