protected void shuffleMessages(List<Message> messages){
  if (messages.size() <= 1) {
    return;
  }
  Random rng=new Random(SimClock.getIntTime());
  Collections.shuffle(messages,rng);
}

protected void shuffleMessages ( List < Message > messages ) { if ( messages . size ( ) <= 1 ) { return ; } Random rng = new Random ( SimClock . getIntTime ( ) ) ; Collections . shuffle ( messages , rng ) ; }
shuffles a messages list so the messages are in random order .
