Ordering table attributes
Refactoring