Formatting changes and sorting attributes