fixing antoher sorting issue