Cumulative distance or cumulative time like formula

Discussion created by filipab on Jan 19, 2011
Network analyst - adding field to the Orders attribute table
I'd like to build a cumulative sum field but in the Sequence order, not in the original order of the Orders. Just like cumulative distance, or cumulative time. I don't have to actually reorder the rows, just that the formula in the field calculator can reorder and sum, so that the result comes in the proper order. Any ideas?
Thank you so much.