implement some sort argo.s in objective-c