Moved import statement out of sort func in quick_sort_in_place

It seems this makes it run twice faster.