Extract float list comparison into its own method.