Added sort by playcound functionality
Cap limit works and malloced the return results
Merge pull request #1 from rfahsel3/cap

Cap