I don't quiet understand your question.
The way to read (ababb,baab) [0,1,2,0,0,2] is
from 0 to 1, transform a into b (thus bbabb so far)
from 1 to 2, transform (next) b into a (thus baabb so far)
from 2 to 0, keep a (thus baabb)
from 0 to 0, keep b (thus baabb)
from 0 to 2, delete b (thus baab).
The way to read (ababb,baab) [0,1,2,0,0,2] is
from 0 to 1, transform a into b (thus bbabb so far)
from 1 to 2, transform (next) b into a (thus baabb so far)
from 2 to 0, keep a (thus baabb)
from 0 to 0, keep b (thus baabb)
from 0 to 2, delete b (thus baab).