split up sorting algos