How to use setTimeout to delay iterations with .each() method...

How to use setTimeout to delay iterations with .each() method...

I'm sort of lost on this one. I've looked at many different examples and tried many combinations but I still can't get this to work. Here's the code without the setTimeout:

  1.         $(seq).each(function(index, value){
  2.             var divID = "#div-" + value;
  3.             $(divID).animate({
  4.             borderWidth: ['10px', 'swing']
  5.             }, 200, 'linear')
  6.             .animate({
  7.             borderWidth: ['1px', 'swing']
  8.             }, 200, 'linear');
  9.            
  10.         });

This works except that sometimes the animation for one div element will sometimes happen at the same time as another div element. I need a delay between each iteration (not between the two borderWidth animations) but I'm confused by how I should write this. Any help is greatly appreciated. Thanks!