Create Sorting in Algorithm