Sorting an array

I need help sorting an integer array. Is there a way to sort an array in descending order without a function? I know you'd have to check through every element but I'm not sure how.
Topic archived. No new replies allowed.