Sorting Without Using Third Variable Problem