portfolio sorting feature