CONTRIB-4798: Now sorting by section position rather than id