Deck Editor changes

deck sorting and notes save flag.