Re: sort constants confusing

new topic     » goto parent     » topic index » view thread      » older message » newer message
_tom said...
DerekParnell said...
_tom said...
suggested current suggested current
rising ascending, normal_order [quote _tom] [quote DerekParnell] [quote _tom] rising
ascending, normal_order
falling
descending, reverse_order

Can we standardize on rising and falling? These are the simplest English words I can suggest. [/quote]


I hope not. I've been giving this a bit more thought and I'm starting to think that normal / reverse are actually good choices.

In any given language, there is a collating order for characters (graphemes) that is accepted as the 'normal' way to do it, and the most common variation to the normal sequence is to 'reverse' it.

[/quote]

OK.

We can standardize on NATURAL and REVERSE; the other choices will be there just there to help define "natural." We naturally write from left to right, hence small to large. But, we are accustomed to writing numbers themselves in their "natural" Arabic form!

  • Output is in natural order which is "sorted from small to large (ascending or rising)."
  • The optional output is reverse order which is "sorted from large to small (descending or falling)."

_tom

[/quote]

falling descending, reverse_order

Can we standardize on rising and falling? These are the simplest English words I can suggest.


I hope not. I've been giving this a bit more thought and I'm starting to think that normal / reverse are actually good choices.

In any given language, there is a collating order for characters (graphemes) that is accepted as the 'normal' way to do it, and the most common variation to the normal sequence is to 'reverse' it.

OK.

We can standardize on NATURAL and REVERSE; the other choices will be there just there to help define "natural." We naturally write from left to right, hence small to large. But, we are accustomed to writing numbers themselves in their "natural" Arabic form!

  • Output is in natural order which is "sorted from small to large (ascending or rising)."
  • The optional output is reverse order which is "sorted from large to small (descending or falling)."

_tom

natural is not a good choice. usually refers to a sort in numeric order try sorting 1, 2, 10, 20 you can't do it.

the normal ASCHII order is 1,10,2,20 there is a natural sort in the archive

https://en.wikipedia.org/wiki/Natural_sort_order

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu