Here you can find the source of sort(double[] data)
public static void sort(double[] data)
//package com.java2s; //License from project: Apache License import java.util.Arrays; public class Main { public static void sort(double[] data) { if (data == null) { return; }//from ww w . ja va2 s .c om Arrays.sort(data); } public static void sort(int[] data) { if (data == null) { return; } Arrays.sort(data); } }