reorder SampleEditView methods to group related methods