I have two frames. the top frame display directories/files which the user can click. When they click on a link the path and filename are sent and displayed in the bottom frame.
Basically when a link is clicked the <A HREF reloads the bottom frame displaying the directories/files.

Let's say the SESSION.item variable is equal to "/temp/dir1,/temp/dir2,/temp/dir3,file1.txt,/temp/dir4,file2.txt"

Currently the above list displays "as-is". How can I sort the above with directories displaying first?

Can I do a <CFQUERY on the "i" results and then do a ORDER BY somehow?

<CFOUTPUT>
<CFLOOP INDEX="i" LIST="#SESSION.item#>
#i#
</CFLOOP>
</CFOUTPUT>


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to