t(a, 10);
                        b = parseInt(b, 10);
                        return a > b ? newOrder : a < b ? oldOrder : 0;
                    }

                    // Column 0 is text.
                    if (a > b)
                        return newOrder;
                    if (a < b)
                        return oldOrder;
                    return 0;
                });

                // Appending an existing child again just moves it.
                for (i = 0; i < list.length; i++) {
      