sorting options added for time-based and status-based sorting