Switched toList and fromList order