Issue #25
Issue #25 and fixes issue #23
Issue #25
Issue #25
Sort nodes and correctly print navigation tree HTML