invalidateSort

Updates the sorting for all children.

Call this when the result of the sort function on