以下我說的排序算法都是說的從小到大排序 1.插入排序 1 insertSort(int a[]){ 2 int length = a.length; 3 int b[] = new int [length+1];