I would like a return delimited list sorted by name.
set {ASTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return} -- save delimiter value and set the new one
tell application "Finder"
set theList to "1,Thursday, 7 May 2009 9:55:05 PM,Thursday, 7 May 2009 9:56:33 PM,779,TEXT,ttxt" & return & "3,Thursday, 7 May 2009 9:55:05 PM,Thursday, 7 May 2009 9:56:33 PM,779,TEXT,ttxt" & return & "1,Thursday, 7 May 2009 9:55:05 PM,Thursday, 7 May 2009 9:56:33 PM,779,TEXT,ttxt" & return & "3,Thursday, 7 May 2009 9:55:05 PM,Thursday, 7 May 2009 9:56:33 PM,779,TEXT,ttxt" & return & "1,Thursday, 7 May 2009 9:55:05 PM,Thursday, 7 May 2009 9:56:33 PM,779,TEXT,ttxt" & return & "CompareStefan.scpt,Thursday, 7 May 2009 12:31:57 PM,Thursday, 7 May 2009 12:31:57 PM,2458,osas,ToyS" & return & "SleepX.cache,Tuesday, 5 May 2009 10:34:35 PM,Tuesday, 5 May 2009 10:34:55 PM,169,TEXT,missing value" & return & "CompareStefan.scpt,Thursday, 7 May 2009 12:31:57 PM,Thursday, 7 May 2009 12:31:57 PM,2458,osas,ToyS" & return & "SleepX.cache,Tuesday, 5 May 2009 10:34:35 PM,Tuesday, 5 May 2009 10:34:55 PM,169,TEXT,missing value"
set sortedList to (sort theList by name)
end tell
set AppleScript's text item delimiters to ASTID
return theList