Electronic Arts Interview Question

General sorting algorithm