Rows moves up or down in same sheet


Is there any way to move rows up or down with specific column value ,

I have a SS with diffrent tasks lists. Some of them are compeleted task some of are pending and some cancelled , i want to all competed together and same for others.