[TYPO3-mvc] Sorting Extbase ObjectStorage

Jochen Rau jochen.rau at typoplanet.de
Thu Jan 21 21:06:28 CET 2010


Hi David.

On 21.01.10 14:43, David Schreiber wrote:
> When accessing my objects by a repository, I can easily sort the
> objects I get by creating an appropriate query. But ObjectStorages
> seem to contain an unsorted array of my objects (or I don't understand
> how the objects are sorted inside).
>
> Is there a way to sort an ObjectStorage by a specific property of the
> contained objects (in my case the sorting property)?

Have a look at the answer I posted on Martin Kutschkers post a few 
minutes ago.

Jochen


More information about the TYPO3-project-typo3v4mvc mailing list