Implement sorting arrays by multiple columns at once

Not really a fan of the API but I don't have any better ideas.

@jpsim @alazier 
Sorry, I misinterpreted the code. Then please add a warning stating what is and isn't supported!