I'm trying to sort the following array by order of time. Thanks for any help.
$appointments = array(
"02:00-02:50PM, Test",
"10:30-11:50AM, New Test",
"12:00-01:20PM, Nothing",
"03:00-03:50PM, Office1",
"04:00-04:50PM, Office2",
"10:30-12:00AM, Faculty",
"01:30-02:00PM, Home",
"02:00-02:30PM, Test 5");
Thanks