showing correctly helps and sorting attributes