Sorting the widths