Get Sorted Array