sortBy 是一个 sort 对象数组,用于确定如何对返回的数组排序。
sortBy is an array of sort objects that determines how the returned array is sorted.
在构建表格行之前,以上代码使用array _ multisort函数根据每个规则的起始端口号对规则数组排序。
Before building the rows of the table, the code USES the array_multisort function to sort the array of rules by the starting port number of each rule.
函数的作用是用“自然排序”算法对数组排序。
In a natural algorithm, the number 2 is less than the number 10.
应用推荐