type
status
date
slug
summary
tags
category
icon
password
😃
I store English example sentences in a Notion database and sort them randomly for memorization. Notion doesn't provide a random sorting feature by default, but we can implement it using a small trick.

When You Need Random Sorting in Notion

There can be various reasons why you might need a random sorting feature in Notion:
  • When you need to display items randomly from a database
  • When you want to fairly distribute work order in team projects
  • When you want to shuffle the order of study materials or quiz questions to enhance learning effectiveness
  • When you want to randomly select and fairly analyze customer reviews or feedback

Method for Random Sorting

  1. Create a New 'Random' Property: Add a new property to your database. Set this property type to 'Formula'.
    1. notion image
  1. Enter the Random Value Generation Formula: In the formula field of the newly created property, enter the following formula: (((((timestamp(prop("Created Time")) * 100011979) + 500067713) % 900066731) * (((timestamp(now()) * 800067089) + 800068411) % 800053967)) + 900067309) % 900066571
    1. notion image
  1. Sort by the Random Property: In the database view, sort by the newly created 'Random' property. This way, the items in the database will be randomly rearranged every time you refresh the page every minute. (This doesn't work within the blog and link)
    1. notion image

Example

Feel free to copy and use this database if you need it
Random DB
Name
Random

Tips for Creating Various Charts and Diagrams in Notion (with AI, Mermaid.js)Comparison of Design AI Tools
Loading...
2024-2025501.

501’s Blog_ | Developer, Prospective entrepreneur,6 years of Notion user

Powered byNotionNext 4.7.5.