Added sorting for Portfolio.