Added Fallback to ShellSort to ensure O(n^3/2)