You can solve this problem using a recordset within ASP:

All you need to do is add the page items in your list into the
recordset, sort the recordset manually, then output the contents of
the recordset on the page.

on error resume next
Set rsReleases = server.createobject("ADODB.Recordset")
rsReleases.fields.append "Date", 200, 50
rsReleases.fields.append "Time", 200, 50
rsReleases.fields.append "Title", 200, 1000
rsReleases.fields.append "Link", 200, 4000
rsReleases.open

                                   <!IoRangeList>
                                    <%
                                        rsReleases.AddNew
                                            rsReleases("Date") = "<
%stf_releaseDate%>"
                                            rsReleases("Time") = "<
%stf_releaseTime%>"
                                            rsReleases("Title") = "<
%hdl_pagetitle%>"
                                            rsReleases("Link") = "<
%list_releases%>"
                                        rsReleases.Update
                                    %>
                                    <!/IoRangeList>

rsReleases.Sort = "Date, Time DESC"

do until rsReleases.EOF
     response.write rsReleases("Date") .....
     etc etc
rsReleases.movenext
loop


Its also worth noting that this approach will also sort all pages in
your list that have not yet been released within your workflow. RedDot
wont sort pages in a list (in SmartEdit mode) unless the page has been
released... which can be confusing for users!!!

Cheers,
Kim




On Jan 6, 7:54 am, bushland25 <[email protected]> wrote:
> I know about the issue, but I have never taken the time to solve it.
> You could write some custom ASP code to sort by a second field if you
> so wanted.
>
> On Jan 5, 5:39 am, bobbykjack <[email protected]> wrote:
>
> > A Happy New Year to one and all.
>
> > It seems as if, when using the 'sort order settings' to define the
> > order of items in a list, "according to element content", items that
> > are equal are not always sorted in the same order across different
> > lists.
>
> > OK, to put that in English:
>
> > I have two pages. Each has a list containing the same set of other
> > pages. Each list is ordered according to the value of a date element
> > on those pages. Since RedDot dates don't also include times (weird?),
> > two pages with the same day have the same sort order. However, in one
> > of the lists the order is A B, and in the other it's B A.
>
> > Has anyone else come across this, solved it, etc.?
>
> > Cheers,
>
> >      Bobby
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to