Sort by word boundary.