Forgive the question of a struggling newbie, but I was wondering how you would go about sorting your universe into industries and then computing things like the PE and average returns using the stocks grouped into that industry: I have tried and failed miserably.