Added saving of sorting
Added saving of section order
Removed misplaced qDebug