How to sorting date time in string array php
<p>I want to sorting date time in a string array using php. My string look like this, I want to sorting first date and time. For ex. 14_04_2016 (date) and 01_00pm_03_00pm (Time will be first and second 15_04_2016...) like that..</p>

<p>Any body have idea please suggest me..</p>

<p>Thanks in advance.</p>

<p>String Array:<br/>
    [0] => 05_00pm_07_00pm|15_04_2016 <br/>
    [1] => 03_00pm_05_00pm|15_04_2016<br/>
    [2] => 07_00pm_09_00pm|15_04_2016<br/>
    [3] => 03_00pm_05_00pm|14_04_2016<br/>
    [4] => 01_00pm_03_00pm|14_04_2016<br/>
    [5] => 01_00pm_03_00pm|15_04_2016<br/>
    [6] => 01_00pm_03_00pm|15_04_2016<br/>
    [7] => 01_00pm_03_00pm|15_04_2016<br/>
    [8] => 01_00pm_03_00pm|15_04_2016<br/>
    [9] => 01_00pm_03_00pm|15_04_2016<br/>
    [10] => 01_00pm_03_00pm|15_04_2016<br/>
    [11] => 01_00pm_03_00pm|15_04_2016<br/>
    [12] => 01_00pm_03_00pm|15_04_2016<br/>
    [13] => 07_00pm_09_00pm|14_04_2016<br/>
    [14] => 07_00pm_09_00pm|16_04_2016<br/>
    [15] => 01_00pm_03_00pm|14_04_2016<br/>
    [16] => 07_00pm_09_00pm|13_04_2016<br/></p>