<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Ascending order for states listing"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/4.page</link>
		<description><![CDATA[Latest messages posted in the topic "Ascending order for states listing"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Ascending order for states listing</title>
				<description><![CDATA[ I am new to this forum and the API. I am using Geonames API and able to list the states. However, I need that to be listed in Ascending Order alphabetically. As of now, the listing order is not ascending or Descending. Here is the URL that I am using.

http://api.geonames.org/search?featureCode=ADM1&maxRows=100&country=US&username=demo

Please help me getting the list in ASC order.

Thanks,

Faisal]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/3133.page#10532</guid>
				<link>http://forum.geonames.org/gforum/posts/list/3133.page#10532</link>
				<pubDate><![CDATA[Sat, 22 Oct 2011 23:11:58]]> GMT</pubDate>
				<author><![CDATA[ faisal]]></author>
			</item>
			<item>
				<title>Re:Ascending order for states listing</title>
				<description><![CDATA[ You have to sort it yourself. The service returns it sorted by 'relevancy' not alphabetically. The children service instead is sorted alphabetically.

Best Regards

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/3133.page#10542</guid>
				<link>http://forum.geonames.org/gforum/posts/list/3133.page#10542</link>
				<pubDate><![CDATA[Sat, 22 Oct 2011 23:13:48]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
			<item>
				<title>Re:Ascending order for states listing</title>
				<description><![CDATA[ Thanks for your message. I have tried the following query but didn't work.

http://api.geonames.org/search?featureCode=ADM1&maxRows=100&country=US&username=demo order by ADM1 asc

Is there any example or reference as how to sort it alphabetically. 

Thanks,

Faisal]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/3133.page#10547</guid>
				<link>http://forum.geonames.org/gforum/posts/list/3133.page#10547</link>
				<pubDate><![CDATA[Mon, 24 Oct 2011 20:06:47]]> GMT</pubDate>
				<author><![CDATA[ faisal]]></author>
			</item>
			<item>
				<title>Re:Ascending order for states listing</title>
				<description><![CDATA[ The service does not implement any order by function.

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/3133.page#10567</guid>
				<link>http://forum.geonames.org/gforum/posts/list/3133.page#10567</link>
				<pubDate><![CDATA[Sun, 30 Oct 2011 22:52:25]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
	</channel>
</rss>