Add consistent new lines during sorting.