Hello, I am having troubles using sort inside a void function. I am required to use void sortByAuthor(Book books[], int count) and somehow apply it to showBooksByAuthor(Book books[], int count, string name).
I have tried looking for some help online but I can't find an example of how to use sort inside a void and then apply it elsewhere. Any hints or links to examples would be great. Thanks!