Arrays.Stream.Sort Java 8 Code Example

Snippet 1
  List sorted = original.stream().sorted().collect(Collectors.toList());