I am new to IDML and I am trying to understand this.
I have figured out that IDML is zip file containing multiple XML files.
I have opened the designmap.xml and saw the StoryLine attribute in Document element.
However, this order in the StoryLine atribute does not necessary agree with logical order of the text displayed on actual content. 
For example the BusinessCardTemplate inside the IDML SDK has the following logical order:
John Doe
Software Developer
InDesign
Adobe Systems Incorporated
801 North 34th Street
Seattle, WA 98103
Phone: 206.675.7000
jdoe@adobe.com
www.adobe.com
However according to the StoryList attribute the following is the order that it refers as following:
Software Developer
InDesign
John Doe
jdoe@adobe.com
www.adobe.com
Phone: 206.675.7000
801 North 34th Street
Seattle, WA 98103
Adobe Systems Incorporated
Is there any way to figure out from the content of IDML to know the logical order (preferably from top left to bottom left) of those stories?
Thanks in advance