I am getting some data from api.I have to sort date.let me give example in an array where is 10 dictionary in that i have parameter called start time.I have to show lates event first flowed next coming event like today event first and tomorrow event next.
I gone through lot of example I cant understand that can some one help me.
this the result coming from api .
(
        {
        bookingTime = "<null>";
        clubAddress = "Grand by GRT Hotels, Lobby Level, Sir Thyagaraya Road, Thyagaraya Nagar , Chennai";
        clubCity = "Chennai,India";
        clubFacilities = "<null>";
        clubInfoID = 270;
        clubLatitude = "13.0402612";
        clubLoc = Chennai;
        clubLongitude = "80.2423";
        clubMobileNumber = "<null>";
        clubName = "The Code-Grand by GRT Hotels";
        clubType = "Night club";
        clubberMobile = "<null>";
        clubberName = "<null>";
        count = 0;
        coupleCover = 0;
        coupleEntry = 0;
        couplePayment = "<null>";
        description = "<null>";
        distance = 0;
        djId = "<null>";
        dressCode = "<null>";
        endDate = "2017-07-03 18:00:00";
        entryCancellationTime = "<null>";
        eventOffer = "<null>";
        eventType = DANCE;
        favoriteType = NO;
        festivalList = "<null>";
        "idclub_event" = 6042;
        moodDJ = "<null>";
        moodMusic = "Salsa, Bachata, Kizomba";
        moodTheme = "LATIN CODE NIGHT";
        offerCredits = 0;
        paidStatus = NOTPAID;
        personAllowed = 0;
        pictureType = IMAGE;
        rateAmbience = 0;
        rateAvg = 0;
        rateFood = 0;
        rateMusic = 0;
        rateService = 0;
        rsvpEntryTime = "<null>";
        rsvpRequestTime = "<null>";
        rsvpStatus = NO;
        rsvpType = BOTH;
        stagCover = 0;
        stagEntry = 0;
        stagPayment = "<null>";
        startDate = "2017-07-03 15:30:00";
        stopEdit = "<null>";
    },
        {
        bookingTime = "<null>";
        clubAddress = "309 Rajiv Gandhi Salai (OMR), Sholinganallur, Chennai, Tamil Nadu 600119";
        clubCity = "Chennai,India";
        clubFacilities = "<null>";
        clubInfoID = 276;
        clubLatitude = "12.9056392";
        clubLoc = Sholinganallur;
        clubLongitude = "80.2256728";
        clubMobileNumber = "<null>";
        clubName = "The Gateway Hotel";
        clubType = Pub;
        clubberMobile = "<null>";
        clubberName = "<null>";
        count = 0;
        coupleCover = 0;
        coupleEntry = 0;
        couplePayment = "<null>";
        description = "<null>";
        distance = 0;
        djId = "<null>";
        dressCode = "<null>";
        endDate = "2017-09-23 16:00:00";
        entryCancellationTime = "<null>";
        eventOffer = "<null>";
        eventType = DANCE;
        favoriteType = NO;
        festivalList = "<null>";
        "idclub_event" = 5945;
        moodDJ = "<null>";
        moodMusic = "Bachata ";
        moodTheme = "Toke D Keda: Bachata Concert";
        offerCredits = 0;
        paidStatus = NOTPAID;
        personAllowed = 0;
        pictureType = IMAGE;
        rateAmbience = 0;
        rateAvg = 0;
        rateFood = 0;
        rateMusic = 0;
        rateService = 0;
        rsvpEntryTime = "<null>";
        rsvpRequestTime = "<null>";
        rsvpStatus = NO;
        rsvpType = BOTH;
        stagCover = 0;
        stagEntry = 0;
        stagPayment = "<null>";
        startDate = "2017-09-23 10:00:00";
        stopEdit = "<null>";
    },
please help me to sort this,thaks for quick responce.
 
     
     
    

