[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Order the result of two lists

Does anybody has experiance with the order-option while generating lists?
I'm building two lists, combine them, and want to see a date-sorted result.

- AND works: 			$result  = $result1->intersect( $result2 ,
"-date" );
- OR does not sort correctly:	$result  = $result1->union( $result2 ,
"-date" );
- NOT does not sort correctly:  	$result  = $result1->remainder
( $result2 , "-date" );

A reorder() is too slow for big lists.

Any help is welcome

Jens Vieler
Universit?t Z?rich
Stampfenbachstrasse 73
CH-8006 Z?rich

mail:  jens.vieler at id.uzh.ch
phone: +41 44 63 56777
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20160407/b19b5012/attachment.html