Widget sorting. Sort needs to be initialized again after save.

Now sorts after save.