Import a naïve quick-sort implementation.