Create sorting_hat