Re: Sorting strangeness

2019-09-18 Thread Paul Dupuis via use-livecode
Good to know. Thank you. On 9/18/2019 11:03 AM, Mark Waddingham via use-livecode wrote: On 2019-09-18 15:43, Paul Dupuis via use-livecode wrote: Again, thank you Mark - this helped immensely. In making a commercial text analytics application, we do a lot of sorting of user entered textual data

Re: Sorting strangeness

2019-09-18 Thread Mark Waddingham via use-livecode
On 2019-09-18 15:43, Paul Dupuis via use-livecode wrote: Again, thank you Mark - this helped immensely. In making a commercial text analytics application, we do a lot of sorting of user entered textual data. With the move from LC6.7.11 to LC9.0.5rc1 we discovered the sort text issue bug, but the

Re: Sorting strangeness

2019-09-18 Thread Paul Dupuis via use-livecode
Again, thank you Mark - this helped immensely. In making a commercial text analytics application, we do a lot of sorting of user entered textual data. With the move from LC6.7.11 to LC9.0.5rc1 we discovered the sort text issue bug, but them we many dozens of sort statements through out our cod

Re: Sorting strangeness

2019-09-17 Thread Mark Waddingham via use-livecode
On 2019-09-16 21:54, Paul Dupuis via use-livecode wrote: IF sort lines of ascending text was working correctly for lines of mixed ASCII and Unicode, for someone sorting lines of text that can be Native text, Unicode text (both RTL and LTR), or mixtures of both, is it better to use SORT ... TEXT

Re: Sorting strangeness

2019-09-16 Thread Paul Dupuis via use-livecode
Mark, Thank you, as always, for your incredible depth of knowledge of the engine! Bug filed: https://quality.livecode.com/show_bug.cgi?id=22378 with sample stack and your comments. If I can impose on you, I have one more question related to this topic: IF sort lines of ascending text was wo

Re: Sorting strangeness

2019-09-16 Thread Mark Waddingham via use-livecode
On 2019-09-16 19:01, Paul Dupuis via use-livecode wrote: Thanks Bob for being one of the folks on the list who always tries to offer a solutions for people. That said, I have solutions a plenty. My real question is for LIVECODE, LTD or perhaps someone like Mark Waddingham who could actually tell

Re: Sorting strangeness

2019-09-16 Thread Dar Scott Consulting via use-livecode
I love puzzles. The dictionary says the "text" sort is a codePoint, which I understand as raw. I did a codePoint dump on the original text and got this (decimal): 67 104 105 110 101 115 101 32 20013 25991 10 71 101 111 114 103 105 97 110 32 4325 4304 4320 4311 4323 4314 4312 10

Re: Sorting strangeness

2019-09-16 Thread Paul Dupuis via use-livecode
Thanks Bob for being one of the folks on the list who always tries to offer a solutions for people. That said, I have solutions a plenty. My real question is for LIVECODE, LTD or perhaps someone like Mark Waddingham who could actually tell whether this is the expected behavior (not a BUG, but

Re: Sorting strangeness

2019-09-16 Thread JJS via use-livecode
you sir, have a sharp eye. Jerry J Op 16-9-2019 om 18:16 schreef Bob Sneidar via use-livecode: This does not answer the why, but as far as case specific, you can sort lines of by word 1 of each ascending text Bob S On Sep 16, 2019, at 09:10 , Paul Dupuis via use-livecode wrote: Okay,

Re: Sorting strangeness

2019-09-16 Thread Bob Sneidar via use-livecode
This does not answer the why, but as far as case specific, you can sort lines of by word 1 of each ascending text Bob S > On Sep 16, 2019, at 09:10 , Paul Dupuis via use-livecode > wrote: > > Okay, here is a Monday morning puzzler for folks: > > Take the following text: > > Chinese 中文 > G