fixed sortList

- hardcoded list of sorting methods and countingSort needing max value in the list to be sorted