comparison sorts generally adapt more easily to complex orders such as the order of floating-point numbers. additionally, once a comparison function is written, any comparison sort can be used without modification; non-comparison sorts typically require specialized versions for each datatype.