Searched refs:byPosition (Results 1 – 2 of 2) sorted by relevance
112 type byPosition []Node type114 func (s byPosition) Len() int {118 func (s byPosition) Swap(i, j int) {122 func (s byPosition) Less(i, j int) bool {
55 sort.Sort(byPosition(p.nodes))