Use Mysql Select Action if you want to select data from MySQL database. Fill all the needed fields.
There is ORDER BY feature here. If you activate that checkbox - you will be able to set ORDER by DESC or ASC and LIMIT selection.
Debug option will show you a MySQL query in Editor`s console tab.