use .sortChildren()

use .sortChildren() so that we don't override the built-in .sort() function