Array sorting functions now require a type that can be ordered