I’m posting here so that Search Engines can index this as I don’t see anyone else talking about this.
When I have an Express Entry List, and I want to Sort it by the Creation Date of each Express Entry in said Express Entry List, these are two methods I’ve found that so far look to work. This seems to work for v8.x and v9.x.
Also note, $listExpressExample is created by:
$expressExampleEntity = Express::getObjectByHandle(‘express_example_entity_handle’);
$listExpressExample = new Concrete\Core\Express\EntryList($expressExampleEntity);
Methods:
- $listExpressExample->sortBy('e.exEntryDateCreated', 'asc')
- $listExpressExample->sortByDateAdded('asc')
So hopefully this helps other $futureHumans because I can’t find this documented anywhere else and finding the handles here was… actually very hard.