Quantlib In Python How To Sort Two