I'm tempted not to provide this but since people have already replied. Please read the link Squeller referenced if you want help. If you want help, ask good questions with well worded topics.
::end rant::
Here is a sort based on tags (not filenames) that someone else posted and I borrowed and tweaked. It sorts by artist (skipping "The"), album and tracknumber tags.
CODE
$if($strcmp($left(%album artist%,4),The ),$right(%album artist%,$sub($len(%album artist%),4))', 'The,%album artist%) - %date% - %album% - $num(%disc%,2) - $num(%tracknumber%,2)
Just copy & paste this into the custom sort dialog.