insertOrderedList: implement listifying

Apart from tests of issue #39, this CL passes all listifying tests.

PTAL
I need to fix #39 later and this will need to fix this logic. Can I leave this as it is for now?