• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Sorting a list

AndrewD2

Well-known member
So I've got my traits mostly done, the last thing I've got left to work on is the sorting, I made a sortset that orders them by Type and then Name, but it lists bad first, how do I go about getting it to list good first?

EDIT: And I guess I just needed a little more looking, and this is my code that works

Code:
  <!-- Define a sortset that lists traits by type and then name. -->
  <sortset
    id="Trait"
    name="Trats By Type and Name">
    <sortkey isfield="no" id="Trait" isascend="no"/>
    <sortkey isfield="no" id="_Name_"/>
    </sortset>
 
Last edited:
Back
Top