Is there any possible way to sort date using a running total field?

I need to list customers based on the total number of loans the have done.

Thanks