fixed sort icons, fixed missing getTypeClass method