Simplified sortingalgorithm interface