Sort Active Tasks