Given:
[{
date: "2020-12-23",
session: "14:00:00-15:00:00"
}, {
date: "2020-12-23",
session: "10:00:00-12:00:00"
},{
date: "2020-12-23",
session: "12:00:00-14:00:00"
},{
date: "2020-12-22",
session: "14:00:00-15:00:00"
}]
How to sort by date & session?
because both of them are string, especially session was range of time
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…