Cases ordered by dates on case selection view, fixed issue with json to nsdate function