Array sorting benchmark