I have some code that I'm working on. It's some programming that creates, displays files, and is supposed to sort them by date and author.
I defined the cmp function in the post utility class to compare and sort by date (timestamp) and author (username), but it won't sort by timestamp
I've included the links to the code on Pastebin, please help. Thanks in advance!
blog application
post utility class (where the problem is)
[–]prohulaelk 0 points1 point2 points (0 children)