For sub-heading sort-order, return a multi-dimensional array with the ID as key even if not using sort-order. This is because we will need the id as key later in the template.