Nested and mixed lists are an interesting beast. It’s a corner case to make sure that

Ordered – Unordered – Ordered

  1. ordered item
  2. ordered item
    1. ordered item
    2. ordered item
  3. ordered item
  4. ordered item

Ordered – Unordered – Unordered

  1. ordered item
  2. ordered item
  3. ordered item
  4. ordered item

Unordered – Ordered – Unordered

Unordered – Unordered – Ordered