Designing Instagram's Grid Reordering: User-Defined Order in a System Built on Chronology
Instagram began rolling out grid reordering to everyone in June 2026. Using it as a case study, this article designs user-defined ordering for a large service that has always been chronological: the data model, sort-key algorithms, concurrent updates, pagination, caching, and backward compatibility, with code I ran to check the key numbers.