sorting children by priority during initialisation
Redesigning the Init method of TTContainer to properly use priority