sorting attempt 1.