Enumerable.Distinct , , , -, . , undefined, , .
I usually don't like relying on unspecified behavior, but I find it highly unlikely that this will change. This is a natural behavior from saving a set of what you have already returned, and getting the result as soon as you see a new element.
If you want to rely on this unspecified behavior, Distinctyou must order items by date (descending) before using . In addition, you can use grouping and then arrange each group accordingly.
source
share