Does "sequence" mean the same thing in these two sentences?

The sequence of names was alphabetical.

He invented a technique to determine the sequence of base pairs in DNA.
the same meaning