<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/2897f29dbdc94b94b742b6cbeb11cd0a&quot; frameborder=&quot;0&quot; width=&quot;1920&quot; height=&quot;1440&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>1440</height><width>1920</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>1440</thumbnail_height><thumbnail_width>1920</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/2897f29dbdc94b94b742b6cbeb11cd0a-689fa9aad5fe9300.gif</thumbnail_url><duration>69.355</duration><title>Implementing Sort in Roam-Style UI</title><description>This Loom demonstrates a SORT feature integrated next to the filter, ported from Roam’s design. It shows switching the sort order and how different sort fields behave, including alphabetical, QTU, DateCreated, DateModified, and Author. The author also notes an abstraction of the existing author function so the fetch reruns with the selected sort since the results were truncated. The key point is that if the sort changes, the query should rerun and return results in the new order.</description></oembed>