finish sortbyyear method on paymentyeartotal model. add ranked erb and get