I am using the NSDictionary
to show the data in UITableview
.
And Sections is now showing like -
My Log is - NSLog(@"%@",[self.base_dictionary allKeys]);
(
"2 days ago",
"2 weeks ago",
"4 weeks ago",
"5 days ago",
"1 week ago",
Today
)
Anyone can help how i can sort it properly -
("Today","2 days ago","5 days ago","1 week ago","2 weeks ago","4 weeks ago")