Update api.php

Fixes issue #3
Fixes issue #4

Added ability to sort jobs by high to low or low to high, the function is getClassJobsOrdered($Ascending), if passed true, it will order ascending, if passed false, it will order descending, default is false (high to low)

To both getClassJobsOrdered() and getClassJobs() you can pass in if you want a specific type of array back. By default both Numbered and Named arrays return, if you want just "numbered", pass in getClassJobs('numbered'), if you want just named, pass in getClassJobs('named'), and respectively similar: getClassJobsOrdered(false, 'named') would be class jobs ordered by highest to lowest and returned as a named key array