Support onSort. Support frozen shadow.