Bugzilla #50705: Fix to preserve the order of AFP TLEs and NOPs as given in the XSL-FO document. Submitted by: Mehdi Houshmand <med1985.at.gmail.com>