insertOrderedList: implement replacing lists (#49)

PTAL