I wonder stream().toArray function always guarantee order or not.
List<String> list = new ArrayList<String>();
list.add("brace open");
list.add("I am a boy");
list.add("or");
list.add("she is a teacher");
list.add("brace close");
list.add("and");
list.add("human is type");
String[] array = list.stream().toArray(String[]::new);
array = ["brace open", "I am a boy", "or", "she is a teacher", "brace close", "and", "human is type"];
Can I expect ordered result always?