Allow nested arrays to be used in user-defined sort order

Fixes miripiruni/CSScomb#194