AX 2012 AOT order

Hi

I am trying to find AOT objects image order. How that order is build.

As I want to update records in a table in the order of AOT starting from lowest element like enum or EDT to highest elements.

I have the image id’s in my table.

Thanks and regards

Varry