Dear XWiki Users, Currently I'm trying to apply the CaledarEvent application, and would like to sort the events in the EventList by category, date and title. I know how to execute the hql query (see below)! #set($query="select obj.name from BaseObject obj, StringProperty tpro, StringProperty cpro, DateProperty dpro where obj.className='XWiki.CalendarEvent' and tpro.id.id=obj.id and dpro.id.id=obj.id and cpro.id.id=obj.id and tpro.name='title' and dpro.name='startDate' and cpro.name='category' and cpro.value='Screening' order by cpro.value, dpro.value,tpro.value asc") #set($results = $xwiki.search($query)) In a foreach loop the name of the object is displayed, but is there also a way to access the objects itself? My problem is how to access the sorted CalendarEvents from the query results? The idea is to present the sorted eventList after the sort, and not in the order of insertion like in the default XWiki.CalendarSheet! Please can anybody give a hint? Thanks! Regards, Gerard ========================================== Dit bericht is uitsluitend bestemd voor de geadresseerde. Het bericht kan vertrouwelijke informatie bevatten. Als u dit bericht per abuis hebt ontvangen, wordt u verzocht onmiddellijk de afzender te informeren. Ook verzoeken wij u het bericht te vernietigen en de inhoud niet onder derden te verspreiden of te gebruiken. This message is intended exclusively for the addressee. It may contain information that is confidential. If you are not the intended recipient, we request that you notify the sender immediately. In that case, we also request that you destroy the message and that you neither use the contents nor disclose them in any manner to third parties. ==========================================