Add sections position ordering

Hibernate by default seems to order by alphabetical order. By inserting
the new position column it automatically ordered sections in the correct
positions. I am not sure if this is stable, but since it works for now I
will not add any explicit ordering for the chapter sections.