Problem Description

Create a generic function to sort the array that accepts a comparison function as a callback. Implement both ascending and descending using different callbacks.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next