The children in paint order. List.sort is not stable, so the index breaks ties.
List.sort
@override List<RenderBox> get paintOrder => _painted();