Sort:  

the monster with the highest speed stat always goes first, if two monsters have the same speed, I understand that it is decided at random which monster will attack first