insertOrderedList: implement replacing lists (#49)

PTAL
We need to update @return annotation.