LayoutGroup: implemented setChildIndex(), swapChildrenAt() and sortChildren() for proper reordering of children in layout (closes #737)