improved orderedSections, works only on some boards