fixes #19344 - sort both expected and actual results in UG test
Sorting of the actual value is by name (`Host::Managed#<=>`), but the expected value was sorted by ID (order of creation). Expected/actual arguments are swapped to correct order.
Related issues
Bug #19344: Intermittent test failure in "UsergroupTest.test_0003_hosts should be retrieved from recursive/complex usergroup definitions"
fixes #19344 - sort both expected and actual results in UG test
Sorting of the actual value is by name (`Host::Managed#<=>`), but the
expected value was sorted by ID (order of creation). Expected/actual
arguments are swapped to correct order.