PEPPER CANARY. Sorts an array of objects in JavaScript and in C++ using Google Portable Native Client (PNaCl)