Sorted output of mantissa and BCD