code: def module_ids(self, rev=False):
  		
  		shutit_global.shutit_global_object.yield_to_draw()
  		ids = sorted(list(self.shutit_map.keys()),key=lambda module_id: self.shutit_map[module_id].run_order)
  		if rev:
  			return list(reversed(ids))
  		return ids
docs: Gets a list of module ids guaranteed to be sorted by run_order, ignoring conn modules
  		(run order < 0).