add sort by uploadDate on getPins