Sort by icon

Refer to the following example code to see how to sort a range by conditional formatting icons.