1👍
✅
By doing self.fields.keyOrder[:-2]
you are actually leaving out the last two fields. You should not slice the list.
new_order = self.fields.keyOrder
Source:stackexchange.com