Added pre-sort optimization to breaksUniformWidth().