Sort the player list

This commit is contained in:
Correl Roush 2020-05-20 22:13:20 -04:00
parent da8da89751
commit e347ade674

View file

@ -352,7 +352,7 @@ viewCards model selected =
viewPlayers : List Player -> Bool -> Element Msg
viewPlayers playerList showVotes =
table [ width fill ]
{ data = playerList
{ data = List.sortBy .name playerList
, columns =
[ { header = none
, width = fill