Orders list by status into directive