回答此问题可获得 20 贡献值,回答如果被采纳可获得 50 分。
<p>对于一个应用程序,我正在尝试各种排序方法。第一种是MSD字符串排序,它可以正确排序除第一项之外的所有内容。代码包含在<a href="https://gist.github.com/IoDmitri/79e98201e78f6bb92d0c" rel="nofollow">this</a>gist中</p>
<p>以下不符合项<code>['I','need','a','sentence','that','will','produce','a','sentence', 'at','least','twenty',
'characters','long','this','is','currently','fifteen','foot','long']</code><br/>
分类如下:<br/>
<code>['I', 'a', 'a', 'at', 'characters', 'currently', 'fifteen', 'foot', 'is', 'least', 'long', 'long', 'need', 'produce', 'sentence', 'sentence', 'that', 'this', 'twenty', 'will']</code></p>