Sorting ring layouts on writing.