Added a class for FunnelSort