more quick sort work