diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -9,7 +9,6 @@
 
 class Solution:
     def minimumDeletions(self, nums: List[int]) -> int:
-        nums = sorted(nums)
         return min(
             (
                 min(nums.index(min(nums)) + 1, len(nums) - nums.index(min(nums)))
