Prime Number Sort to 50

Sort the numbers into prime or composite.