Added coverage for sort and multi-key sort