Move the natural comparator to a separate file.