I have some difficulties working on a query with conditional order by. Here is a sample data :
|Id | Date-In | Date-Out | |1 | 01/01/21 | NULL | |2 | 03/