Update job-postings.js

added sortByRequest() function.