Split list into unordered and ordered list

And add custom prefix option.