Add sort function for lists
list.sort() test cases
Added key parameter to sort()
Merge pull request #42 from bhargavvader/issue_26

Add sort function for lists