Is there any objection to making SimpleAlignment take a TreeMap instead of a simple Map? The reason is that order of the sequences in the alignment is often of importance. I suppose the alternative is to create a new alignment called OrderedAlignment. -Robin