Reorder notes on edit