doesn't look like there is a command to do this. Try creating an sqLite 
database in memory (or on disk it doesn't matter) called tempdata with a column 
called textdata, adding your words/items/lines to the database, then query the 
database with select textdata from template order by textdata. 

You could create this as a function passing the arguments pText, pChunkType, 
pOrder. pText contains your text to be sorted, pChunkType could be lines, items 
or words, and pOrder would be ascending or descending. 

Presto! Your own case sensitive sort function! 

Bob S




> On May 18, 2017, at 10:10 , Kaveh Bazargan via use-livecode 
> <use-livecode@lists.runrev.com> 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?
> 
> -- 
> Kaveh Bazargan
> Director
> River Valley Technologies
> @kaveh1000
> +44 7771 824 111
> www.rivervalleytechnologies.com


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to