EMI: Make attached objects use their parents sort order
Merge pull request #769 from klusark/sort

EMI: Make attached objects use their parents sort order