Group components into runs of alignments

Thanks. Please upvote the post if you can.