Sort a List of Timestamps

You are given an array of strings containing timestamps in 24-hour time as an argument. Return the array of timestamps sorted in ascending order.

Requirements

  • Must return an array of strings
  • Must be sorted in ascending order

Example #1

solve(["23:55","00:12","06:01","15:59"])
> ["00:12","06:01","15:59","23:55"]