arrays

whats the best way for sorting element's array

The method that best meets your unstated criteria.

What data type is the array ?
How many elements does the array have ?
How are entries added to the array ?
How often will the array be sorted ?
Why will the array be sorted ?