Please enable JavaScript to view this site.

iService Forms User Guide

The -Psort parameter is used within a -articlelist paramter to specify the sorting for a list of articles. Lists can be sorted in ascending  or descending (reverse) order based upon the following fields. Multiple parameters may be used for sorting on more than one column.

 

SUBJECT,
SUBJECT_REVERSE
DATE
DATE_REVERSE
OPERATOR
OPERATOR_REVERSE
TOPIC
TOPIC_REVERSE
RATING
RATING_REVERSE
COUNT
COUNT_REVERSE

 

Example: Sort list of articles by subject

$if -articlelist(search) -Psearchid'search' -Ptopic'4' -Ppagenum'1' -Pperpage'100' -Psort'subject'