I think you can do this with Chesspad2 from the Resources here.
possibility to sort your games archive

If you can't do it here you'll have to import your games into your own DB (such as Chess Base 9 Light or ChessPad 2 for instance, both are free) and have them sorted out "at home."
Copying the games from here and pasting them into your own DB is fast and easy I do it all the time
This would be a nice feature for premium members at least.

I tried the SCID software available here and it's excellent. Maybe chess.com can't implement a similar software in their site online because of copyright issues and/or server memory limits.

Would be a nice welcome new feature!
It's an excellent software BTW: you can show it a position and it will find all of your games with that position + you can sort game by a) material so you can see all your 2B vs 2B endgames for example and by b) patterns Ex: IQP , Maroczy's bind, 0-0 vs 0-0-0 etc...
Like you do with a spreadsheet in Excel Windows Office
Your games could be sorted by
1) OPENING including the subvariants
2) White/Black
3) Result
4)Customizable sorting (create your own classes) ,sorting using more than one variable
5)Possibility to sort by other available variables if it doesn't hurt like :opponent rating , opponent name and number of moves