Added sort changes