module_sort_comp struct

Used by LoomManager to sort modules in its vector.