fix
non recursive quick sort