我有NSMutableArray
包含NSArray
對象,它看起來像這樣NSMutableArray的排序任務
(
"2012-10-10 13:13:29 +0000",
cc5772389efc1f93bedaab872bad542a1c8432af,
"{\n size = {360, 480}\n CGImage.size = {480, 360}\n imageOrientation = UIImageOrientationRight\n}"
),
(
"2012-10-10 13:13:37 +0000",
6c09d99f940af8e7d1d1392d28abee2133b7ac75,
"{\n size = {360, 480}\n CGImage.size = {480, 360}\n imageOrientation = UIImageOrientationRight\n}"
),
(
"2012-10-10 13:13:19 +0000",
0165776bd9e96e640c905471ddb8630c22a8911c,
"{\n size = {360, 480}\n CGImage.size = {480, 360}\n imageOrientation = UIImageOrientationRight\n}"
)
各NSArray
對象包含的第一個指數NSDate
對象,我想從舊到最新排序此NSMutableArray
。
有什麼想法嗎?
有什麼不對這種做法? –