are you storing time somewhere when the project was created? if yes, use that in descending order.
if not
and you have some auto_increment field, sort that in descending order
if still not,
then as per current scenario, sort descending the job number field, should suffice
SELECT jobnumber FROM tablename ORDER BY sortfieldname DESC LIMIT 1
use the obtained result from the query to get last job number