Use sortBy to sort descending order
Use sortBy to sort descending order
Specify imported function
Add function declaration
Add function declaration
Specify imported function
Avoid to convert to string
Solved 32, 34. Factor out factorial function.