I need to order a set of strings in an array to some predefined order , like,If my array contains field [a,b,c,d] then i need to order the elements to a predefined order [c,a,b,d].If the source array miss any element then also i need to order it in predefined manner like if the source array contains [a,c,d] then i need the result as [c,a,d],Is this possible using NSPredicate in iPhone SDK.
Thanks in advance