A Python script with better performance and does not have a bug in which the '0' (zero) number is ignored when sorting and removing duplicates.