Update AttributeSort.java

changed it so that it wasn't hardcoded