sort ordering config dependant on task status