Fixing ordering bug on sections and items

When we insert an item/section at the end, they stay with the same order value

and from then on the order is decided by other parameters, not producing the desired functionality.

we now use a list order to implement this functionality.

Closes #491