If you just want the answer, rather than going through the exercise of writing a program to do it, any decent spreadsheet program is perfectly capable of computing the power ranking and sorting the result the way you want. It's a happy coincidence that you want the positions in alphabetical order.
If this is a programming problem for a class assignment, you should start by asking your instructor for advice instead of trying to get a bunch of robotics enthusiasts to do your homework for you.
