Let's I am creating an unordered list using jQuery from JSON. I want to make sure, however long the list is, that my list contains columns of five. Doesn't matter how many columns. Just that it's columns of five.
Example:
1st item 6th item
2nd item ...
3rd item ...
4th item
5th item
I have to mention that the order doesn't really matter to this particular use case.