Debug index problem
Debuging sorting problem