support match order in [hosts]