test_get_passwords_list: fixed sorting issues