Sorting is one of the important algorithms in computer programming. The ordinary 6 sorting algorithms are analyzed and compare from the algorithmic time complexity and stability. The executive efficiency of 6 sorting algorithms is verified by Java program. The costing time and stability of 6 sorting algorithms are compared to provide certain reference for sorting algorithm.