bgdev.utils.sort

Utility methods used to sort nodes and graphs.

created

05/03/2017

author

Benoit GIELLY <benoit.gielly@gmail.com>

sort_children(parent=None)[source]

Sort children of the given parent alphabetically.

Parameters

parent (str) – Name of the parent to use as a starting point.

sort_descendants()[source]

Sort all descandant children alphabetically.

sort_selection()[source]

Sort all children node alphabetically.