started working on ordering attributes