Fixed shareSpaceAmongChildren sorting incorrectly.