initial code for in-place editing
enhancement of sorting: the click cycle now contains a state without any sorting