Create sorted inputs according to Table2
Add activation_table function.