Mind you, even this comparison function was rather complicated at the time.
提醒您,即使此比较函数时起来相当复杂。
The DSU idiom is much faster than passing sort a comparison function, as discussed in other recipes.
DSU惯例是比传递一个比较函数更快,就象在其他配方里讨论的那样。
This function takes two parameters — the first is the HTML select list to sort, and the second is the comparison function.
该函数带有两个参数——第一个参数是要排序的HTML选择列表,第二个参数是比较函数。
应用推荐