一、JS方式 https://www.cnblogs.com/wangting888/p/9701630.html 二、冒泡排序 https://www.cnblogs.com/jingmoxukong/p/4302718.html