I have the following format of an array

```
[HomeTeam] => Brazil
[AwayTeam] => Croatia

```

how can I sort the array based on home and away teams. 

So all Brazil will come first if they are a Home or an away team.

Do i need an array\_multisort? I've given it a try, but not getting the right results.

Any help would be appreciated.

Cheers