Talk:Natural sorting: Difference between revisions
Content added Content deleted
(→Why draft?: Like sortkeygen) |
(→Why draft?: Ambiguities…?) |
||
Line 7: | Line 7: | ||
::Like function sortkeygen of the python example ;-) |
::Like function sortkeygen of the python example ;-) |
||
:: --[[User:Paddy3118|Paddy3118]] 12:20, 23 April 2011 (UTC) |
:: --[[User:Paddy3118|Paddy3118]] 12:20, 23 April 2011 (UTC) |
||
For the fourth one (numeric sub-fields), are we to ignore the non-numeric parts or to assume they're the same? –[[User:Dkf|Donal Fellows]] 17:28, 23 April 2011 (UTC) |
Revision as of 17:28, 23 April 2011
Why draft?
I'm never sure about Unicode, and this is my first "choose any four from eight" type task description.
I think I will change it to ask that at least the first four are done then leave the others as "extra credit" - that way language examples will be more comparable. --Paddy3118 11:16, 23 April 2011 (UTC)
- Note that, unless constrained by their language, a good programmer will implement this as a sort routine that takes a text normalization function, and after the first two examples this task devolves down to writing the normalization function and testing it. (Some languages provide a sort routine which performs suboptimally with this approach but I think we can neglect that issue here.) --Rdm 12:10, 23 April 2011 (UTC)
- Like function sortkeygen of the python example ;-)
- --Paddy3118 12:20, 23 April 2011 (UTC)
For the fourth one (numeric sub-fields), are we to ignore the non-numeric parts or to assume they're the same? –Donal Fellows 17:28, 23 April 2011 (UTC)