Q:

Custom sorter for two values on same column

I have a column in sapui5 table where I am using two values to be displayed in an HBox; "date" and "time".  Moreover, in leading property field, I have defined "date" field. 
I have a personalization box for this table, where it provides sorting functionality based on "date" field (since "date" is defined in leading property, and one can only have single leading property for a column).  
Date sorting-> works fine and as expected. 
Issue is, for same dates, I cannot sort further based on time.  So in the picture below, I should get 22:01 first, and then other 22:56 data.  This is not happening.  
I want to know if there is any way I can implement more than one condition in p13n sorting?  If yes, how?  I tried to find also some CDS annotations which can be used but found none. 
Thanks in advance. 

A:

I found the issue.  Actually, SAP backend has two date formats for 12'o clock; 00:00 & 24:00. 
Ideally, 00:00 means 12'o clock at the start of the day & 24:00 means 12'o clock at the end of the day. 
However, SAPUI5 right now does not support 24:00 in sorting. ( You can also not select 24:00 as time in date picker, the max you can select is 23:59). 

Hence, sorting in my case was correct, how ever it was seeming wrong because 24:00 is converted to 00:00 by UI5. 
There is no direct solution provided by UI5.  What I did was to reformat the time to 24:00 in formatter.js.