sorting top passwords using class