fixing soerting