Python Program For Sorting An Array