insertOrderedList: replace |i| to |index|