()
| 1992 | } |
| 1993 | |
| 1994 | function selection_order() { |
| 1995 | |
| 1996 | for (var groups = this._groups, j = -1, m = groups.length; ++j < m;) { |
| 1997 | for (var group = groups[j], i = group.length - 1, next = group[i], node; --i >= 0;) { |
| 1998 | if (node = group[i]) { |
| 1999 | if (next && node.compareDocumentPosition(next) ^ 4) next.parentNode.insertBefore(node, next); |
| 2000 | next = node; |
| 2001 | } |
| 2002 | } |
| 2003 | } |
| 2004 | |
| 2005 | return this; |
| 2006 | } |
| 2007 | |
| 2008 | function selection_sort(compare) { |
| 2009 | if (!compare) compare = ascending$2; |
nothing calls this directly
no outgoing calls
no test coverage detected