add order desc on Pin query