Added quick_alt sort implementation