Changed approach to getPortfoliosByCashBalance (removed MAP)
Added proper Sorting to getPortfoliosByCashBalance