i think it should be something like

    private Class<? extends Sorting> algorithmType = null;

This way you don't need "unsafe" casts.