added sortParameter enum