now sort array better