Pybites Logo

Sort a list of book objects

Level: Intermediate (score: 3)

In this Bite you are going to look at a list of Book namedtuples and sort them by various criteria. Complete the 4 functions below. Consider using lambda and/or one or more helper functions and/or attrgetter (operator module). Good luck and have fun!