Now we can sort the posts based on time.