<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>Possible to sort in a QueryByAttributes?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">I'm working on a PHP script which will populate an HTML select list with the results of an attribute query.&nbsp; The intent is to populate the select list with the values of an item in a data layer.&nbsp; I sort of have it working.&nbsp; But I'd like to sort my query results in ascending order, so they appear alphabetically in the select list.&nbsp; Is there a way to do this in Mapscript?</FONT></P>

</BODY>
</HTML>