I have heard others talk about this, and I like the idea: How about adopting the auction interface for the bank? It already allows for sorting in just about anyway you like. AND the code for it already exists!