It does not seem that createSections() is a good place for applying
sorting.
We can do that inside sortSections(), which name looks more appropriate.
That also should help to following cleanup change: D39045.
Details
Details
Diff Detail
Diff Detail
Remove {}