fix sorting for accounts list