ChatGPT-Powered Hierarchical Comparisons for Image Classification