Array Sorting In Python Without Built Protein