Sort so that "Hello" is always before "hello"

Kaveh Bazargan kaveh at rivervalleytechnologies.com
Thu May 18 17:13:03 EDT 2017


Thanks Phil

That works in the case I mentioned, but with different letters, All upper
case chars come to top, so I get:

Goodbye
Hello
goodbye
hello

What I need is

Goodbye
goodbye
Hello
hello


On 18 May 2017 at 18:19, Phil Davis via use-livecode <
use-livecode at lists.runrev.com> wrote:

> "set the caseSensitive to true" before sorting.
>
> Phil Davis
>
>
>
> On 5/18/17 10:10 AM, Kaveh Bazargan via use-livecode wrote:
>
>> I have the following lines when a list of words is sorted:
>>
>> Hello
>> hello
>> Hello
>> hello
>> hello
>>
>> so there is no hierarchy between upper and lower case chars. I want caps
>> to
>> go first. How do i do that pls?
>>
>>
> --
> Phil Davis
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
Kaveh Bazargan
Director
River Valley Technologies
@kaveh1000
+44 7771 824 111
www.rivervalleytechnologies.com



More information about the use-livecode mailing list