Sort action_modules items before iterating

This would allow for consistent output

Test: th
Change-Id: I07a877a4005512035c2fd19b2b3fc62c8bd4704e
3 files changed