Sort collection.

async def sort(self, request, reverse=False):
        """Sort collection."""
        return sorted(
            self.collection, key=lambda o: getattr(o, self.columns_sort, 0), reverse=reverse)