Don't know what command you're passing in cmd1 (it also doesn't matter in this case) but using the
ORDER BY
Statement is only allowed in association with
SELECT
command.
Using
"SELECT * from " + table_name + " ORDER BY Name", con1
should work for you.
Please take care of capitalization when using SQL Commands, it's clearly readable then.
Regards