Issue #20607:fix order line sort sequence