The solution is to create a list that contains the sort information, and generate the sort field information just once.
解决方案是创建一个包含排序信息的列表,并只生成一次排序域信息。
Instead of calling sprintf all those times, we call it just once for each item in the hash in order to generate a sort field in the hash, and then use that sort field directly during the sort.
现在不需要每次都调用sprintf,对hash表中的每一项,只需要调用一次该函数,就可以在hash表中生成一个排序字段,然后在排序时就可以使用这个排序字段了。
Try adding a numeric sort on key field 1 to see how to change this.
尝试对关键字段1添加一个数值排序,看看如何改变这个结果。
It is no use to have the sort of liking that consists in regarding them as a field for valuable social endeavor, or — what amounts to the same thing — as an outlet for power-impulses.
那种坚持把孩子们当成社会事业中有价值的一部分,或者——实质相同——权力冲动的宣泄口的喜爱毫无用处。
The sort order for lists is determined from a field called position.
列表的排序顺序由position字段决定。
Given this simple class, I want the ability to sort on any field of the class.
对于这个简单类,我希望能够对类的任意字段进行排序。
Be careful, however, about using this option if your sort column references a multi-value field.
但是如果排序列引用了多值字段,则使用此选项时要格外小心。
They sort left from right versions using circularly polarised light, whose electric field corkscrews through space in a left or right-handed direction.
旋转偏振光被他们用来筛选左手性和右手性分子,这种光的电场以左手或右手螺旋形式在空间旋进。
Besides the field access time tests, I did the same sort of timing test for method calls.
除了字段接入时间测试之外,我还进行了相同的方法调用时间测试。
Zidane's off-field blandness extends to his wardrobe, which is just sort of dull and unimaginative.
齐达内球场下的平淡无奇延伸到他的衣柜里,简直是有些呆板、缺少想像力。
The temporarily created field SORT is used within the ORDER BY clause, to get the result returned in the depth-first sequence.
临时创建的字段sort用于ORDERby子句内,以便按深度优先顺序获得返回的结果。
Where Arabic is of course useful is for working in the field, but the sort of Arabic taught at universities isn't always the best for that.
在进行实地考察时,阿拉伯语一定能派上用场。不过大学里教授的阿拉伯语不一定是最合适的。
This is the equivalent of zapping a stationary object with an oscillating magnetic field of the sort used in MRI.
这相当于不断摆动MRI中的磁场,并令其轰击某一静止物体。
We talked about the sense that, I think, young people have a sort of prejudice against the field and they think that finance is a field that you go into if you really value money rather than people.
我们谈论了,年轻人对这一行业的偏见,他们认为进入金融业的人,金钱至上,而不尊重他人。
On a Domino form or a Web page, we can control this sort of input using a selection list, so that users cannot add arbitrary data to a restricted field.
在Domino表单或web页面中,可以使用选择列表来控制此类输入,这样用户就无法向受限制的字段中添加随机数据类。
A very practical feature of sort is its ability to sort using field keys.
sort的一个非常实用的特性是它用字段键进行排序的能力。
If you omit the second number, sort will assume that the key starts at the given field and continues to the end of each line.
如果您省略了第二个数字,那么sort会假定键是从给定的字段开始,一直到每一行的末尾。
If we then sort text2 on its second field and join that with text 5 using the second field of each file as the join field, we should have two matches (apple and banana).
如果我们针对text2的第二个字段对其排序,然后使用每个文件的第二个字段作为join字段来将text2和text5连接起来,那么我们应该得到两个匹配(apple和banana)。
Since text2 is not sorted in numeric order, we could sort it and then join would join the two lines that have a matching join field (the field with value 3 in this case).
由于text2并不是按数值排序的,因此可以对它进行排序并使用join命令将具有匹配的join字段(在本例中指值为3的字段)的两行连接起来。
That sort of technology allows them to put only the amount of fertilizer that is needed on a field and in the exact location that it is needed.
这些技术使人们只在必要的地方施用最少量的化肥。
Alellyx, which Mr Reinach claims is the only company tweaking sugar-cane DNA, has started field trials of a variety with 80% more sucrose—the raw material for sugar or fuel—than the standard sort.
Reinach认为Alellyx是唯一一家将糖和甘蔗的DNA进行拧合的公司。 这家公司现在开始对一种使用比标准品种蔗糖(糖或燃料的原材料)含量高80%以上的新品种进行田间试验。
SortItem is a class containing a field name and a sort order pair.
SortItem是一个包含字段名和排序顺序对的类。
The first three field names plus the Headline field are set to sort in ascending order, in that order (1 through 4).
前三个域名称以及Headline 域按照升序进行排序,即从1到4。
Sorting support - sort databases based on certain field values.
分拣支持-排序数据库基于某些字段值。
The paper summarized the lactobacillus'properfies, and sort. The application and prospect in medicine field have been referred.
本文主要概述了乳酸菌的特性和分类,同时对其在医药领域中应用及前景做了综述。
Sort retrieved posts by this field.
根据这个区给得到的文章排序。
Is it time for the Premier League to introduce some sort of draft system or wealth redistribution to try to level the playing field a bit?
对于英超联赛来说,是时候引进某种新的制度或者通过财富的重新分配来使比赛更加公平的竞争。
Zidane e's off-field blandness extends to his wardrobe, which is just sort of dull and unimaginative. Luckily his wife has perfect taste.
齐达内球场下的平淡无奇延伸到他的衣柜里,简直是有些呆板、缺少想像力。万幸的是,他的妻子非常有品位。
Most of the time, the people that are most successful in this field have some sort of past experience.
大部分时间,人们认为是最为成功的在这一领域有某种程度的经验。
Most of the time, the people that are most successful in this field have some sort of past experience.
大部分时间,人们认为是最为成功的在这一领域有某种程度的经验。
应用推荐