valsort not sorting?