Add sorting logic into task index