Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Authoring Kit (http://forums.wolflair.com/forumdisplay.php?f=58)
-   -   Sorting a list (http://forums.wolflair.com/showthread.php?t=51139)

AndrewD2 October 24th, 2014 08:16 PM

Sorting a list
 
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>



All times are GMT -8. The time now is 12:48 AM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.