fixes sorting instructor