#6809
Support 1
Participant

    We do not have a sample of JavaScript that improves on sort.htc.

    Another way to do this is to sort the tasks in the applet VBScript, rather than using dynamic HTML. You could use a StringList, which has a .Sorted property. In this case, add task data to the .Strings and .Objects properties as follows:

    Sort by        | String               | Object
    -------------------------------------------------
    Prio           | .Priority            | .Subject
    Subject        | .Subject             | .Priority
    Prio & Subject | .Priority + .Subject |

    Once the StringList is filled, simply use it as your source data for the HTML table.

    This approach is less interactive than DHTML; it requires re-executing the applet to see the tasks sorted in a different order.

    Advansys Support