The Price of Resiliency: A Case Study on Sorting with Memory Faults