Hi. I've got a categories display lifted basically straight out of the documentation:

   <define tag='category-listing' scope='list'>

      <ul>

        <emit source='category' file='&list.file;' node='&_.node;' category=''>

          <li>

        &_.name; <category-listing file='&list.file;' node='&_.node;'/>

          </li>

        </emit>

        <emit source='category' file='&list.file;' node='&_.node;' related=''>

          <li>

        <i>Related:</i>

        <emit source='category' file='&list.file;' node='&_.node;' history=''>

          &_.name;

          <delimiter>&gt;</delimiter>

        </emit>

          </li>

        </emit>

        <emit source='category' file='&list.file;' node='&_.node;' document=''>

          <li>

        <emit source='dir' file='&_.ref;' notitle='yes'>

          <a href='&dir.path;'>

            <if variable='dir.title is '>&dir.path;</if>

            <else>&dir.title;</else>

          </a>

        </emit>

          </li>

        </emit>

      </ul>

   </define>

   <ul>

      <nocache>

        <emit source='category'>

          <li>

        <category-listing file='&_.file;' node='&_.node;'/>

          </li>

        </emit>

      </nocache>

   </ul>

This is fine for my needs, except one quirk: The document nodes are not outputted in alphabetical order. (Apparently order of page creation, but I'm not absolutely sure about that). I'm trying to figure out what is the simplest change I could make that would cause the documents for each category to be listed in alphabetic order. Could I get any advice?

<<attachment: cmhoward2.vcf>>

Reply via email to