Define a deterministic sort order to prevent random pin positioning in case of a page refresh.