<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ORDER BY Name in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/order-by-name/m-p/201004#M154134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to retrieve sorted documents by name with CMIS query. My query looks very simple:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;select * from document where IN_FOLDER('workspace://SpacesStore/cdeb288c-da2b-4cc9-8881-68fc311e67db') ORDER BY Name&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As result of this query I have documents in some random order, not alphabetically sorted by name. (I have also tried to order by some other properties: modification Date, document size; with such order results are sorted correctly)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently I am working with Alfresco version 3.0.0 (Stable 1526), using air CMIS Explorer to execute this query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What can be reason of incorrect alphabetical order of documents:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Am I doing something wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Is it some bug in alfresco version I am working with? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Probably, is it solved in some future versions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank You in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Apr 2009 15:21:27 GMT</pubDate>
    <dc:creator>ashved</dc:creator>
    <dc:date>2009-04-24T15:21:27Z</dc:date>
    <item>
      <title>ORDER BY Name</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/order-by-name/m-p/201004#M154134</link>
      <description>Hello,I am trying to retrieve sorted documents by name with CMIS query. My query looks very simple:select * from document where IN_FOLDER('workspace://SpacesStore/cdeb288c-da2b-4cc9-8881-68fc311e67db') ORDER BY NameAs result of this query I have documents in some random order, not alphabetically sor</description>
      <pubDate>Fri, 24 Apr 2009 15:21:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/order-by-name/m-p/201004#M154134</guid>
      <dc:creator>ashved</dc:creator>
      <dc:date>2009-04-24T15:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: ORDER BY Name</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/order-by-name/m-p/201005#M154135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your syntax looks right, but in my own testing I have found that the ORDER BY clause tends to not work correctly. It does change the order of the results, but not in any consistent way that I can figure out. Looks like if you want them in a specific order you are going to need to do it yourself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried this on 3.0, but because my preview build 3.2 is messed up at the moment I haven't checked that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 18:08:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/order-by-name/m-p/201005#M154135</guid>
      <dc:creator>jake-hyland</dc:creator>
      <dc:date>2009-04-27T18:08:46Z</dc:date>
    </item>
  </channel>
</rss>

