The only way I can imagine to get the top-x elements out of a list of elements that is in memory, is by looping over the list. See my microflow: https://modelshare.mendix.com/models/cac33f27-6342-41fb-96ea-b1c40fd62529/get-topx-from-list Is there a better way? NB. the list is not in the database.
↧