Here you can find the source of copyAndSort(T[] builtinFunctions)
public static <T> T[] copyAndSort(T[] builtinFunctions)
//package com.java2s; import java.util.Arrays; public class Main { public static <T> T[] copyAndSort(T[] builtinFunctions) { T[] result = builtinFunctions.clone(); Arrays.sort(result);/* w ww . j a v a 2 s.co m*/ return result; } }