Arbitrary key vertical bar sorting

Default sort key is still value. @azirbel @sreenath-addepar