one way would be to use 2 formuals. 1 for dates and one for text. Add each to your sort expert (ascending or descending depending on your need)
By doing this each formula will still sort but since all values are the same for the else then it will only use the one formula to visuualy sort
//datesort
if table.status = 'accepted' then table.dateaccepted
//textsort
if table.status = 'developement' then table.clientname else if table.status = 'rejected' then able.other_value