Answer:
Greatest number: 987654321210
Smallest number: 001122345678
Sum: 988776666888
Difference: 986531975532
In summary, to find the sum and difference of the greatest and smallest numbers formed by a given set of digits, arrange the digits accordingly and calculate the sum and difference.