Updated Sort