new_sorter_recency

Function new_sorter_recency 

Source
pub fn new_sorter_recency() -> impl Sorter
Expand description

Create a new sorter that will sort two RoomListItem by “recency score”, i.e. by comparing their RoomInfo::new_latest_event’s timestamp value, or their RoomInfo::recency_stamp value. The Room with the newest “recency score” comes first, i.e. newest < oldest.