我堅持在這裏...... 我有兩個數組Arr_title和Arr_distance 我得到整理Arr_distance使用這種方法排序使用數組索引
NSSortDescriptor *sortDescriptor = [[[NSSortDescriptor alloc] initWithKey:@"self" ascending:YES]autorelease];
sortedFloats = [appDel.Arr_distance sortedArrayUsingDescriptors:
[NSArray arrayWithObject:sortDescriptor]];
但問題陣列是一個我要排序提前幫我根據sortedFloats數組的索引Arr_title ...
THX ..........
排序浮標的意思是什麼 – Rajneesh071