sort posts by timestamp