#1 fix sort type formatting.