Order output

@robertzk it is easier if we put loan_id in the first column