question: public void sortPlayers ( ) { int index = 0 ; for ( int i = 1 ; i <= getPlayerCount ( ) ; i ++ ) { Player p = getPlayerAtSeat ( i ) ; if ( p != null ) { players . remove ( p ) ; players . add ( index , p ) ; index ++ ; } } }
target:  Sort the players by seat; unseated players left unsorted at the bottom of the list.