A set of helper subroutines to support parts of the Netdisco application.
There are no default exports,
:all tag will export all subroutines.
Sort port names of various types used by device vendors.
Interface is as Perl's own
sort - two input args and an integer return value.
Sort devices modules into tree hierarchy based upon position and parent - input arg is module list.