sorting types with radio