create hosts "A test", "B test", "Another".
add the group they are in as a "hostgroup elements" map objects.
notice how the sort order differs :
- host list in configuration, overview, probably other places : Another, A test, B test
- network maps, host group element : A test, Another, B test