working on sorting json objects for daily calendar feed