Sorting and custom balance for Credit.