Trying to sort query by field with type 'FixedString(16)' results is wrong record order.

**How to reproduce**
Tested versions: 
 * 20.7.1.4189 -- reproducible
 * 20.5.3.27 -- reproducible
 * 20.5.2.7 -- reproducible
 * 20.4.7.67 -- non-reproducible
 * 18.12.17 -- non-reproducible

Example data set:
Table containing rows with string name and corresponding UUID5 of each name (uuid_old == uuid_new and always match name).
**Each statement of the set must be executed as separate query (not in one batch).**

    -- sql.txt
    CREATE TABLE IF NOT EXISTS bad_uuid_sort (date Date, timestamp DateTime, name String, uuid5_old FixedString(16), uuid5_new UUID, subitem String) engine MergeTree(date, (timestamp, uuid5_old), 8192);

    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_1', UUIDStringToNum('999e1140-66ef-5610-9c3a-b3fb33e0fda9'), '999e1140-66ef-5610-9c3a-b3fb33e0fda9', 'item1');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_1', UUIDStringToNum('999e1140-66ef-5610-9c3a-b3fb33e0fda9'), '999e1140-66ef-5610-9c3a-b3fb33e0fda9', 'item3');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_1', UUIDStringToNum('999e1140-66ef-5610-9c3a-b3fb33e0fda9'), '999e1140-66ef-5610-9c3a-b3fb33e0fda9', 'item2');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_1', UUIDStringToNum('999e1140-66ef-5610-9c3a-b3fb33e0fda9'), '999e1140-66ef-5610-9c3a-b3fb33e0fda9', 'item5');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_1', UUIDStringToNum('999e1140-66ef-5610-9c3a-b3fb33e0fda9'), '999e1140-66ef-5610-9c3a-b3fb33e0fda9', 'item4');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_1', UUIDStringToNum('999e1140-66ef-5610-9c3a-b3fb33e0fda9'), '999e1140-66ef-5610-9c3a-b3fb33e0fda9', 'item1');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_1', UUIDStringToNum('999e1140-66ef-5610-9c3a-b3fb33e0fda9'), '999e1140-66ef-5610-9c3a-b3fb33e0fda9', 'item3');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_1', UUIDStringToNum('999e1140-66ef-5610-9c3a-b3fb33e0fda9'), '999e1140-66ef-5610-9c3a-b3fb33e0fda9', 'item2');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_1', UUIDStringToNum('999e1140-66ef-5610-9c3a-b3fb33e0fda9'), '999e1140-66ef-5610-9c3a-b3fb33e0fda9', 'item5');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_1', UUIDStringToNum('999e1140-66ef-5610-9c3a-b3fb33e0fda9'), '999e1140-66ef-5610-9c3a-b3fb33e0fda9', 'item4');

    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_2', UUIDStringToNum('8ad8fc5e-a49e-544c-98e6-1140afd79f80'), '8ad8fc5e-a49e-544c-98e6-1140afd79f80', 'item5');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_2', UUIDStringToNum('8ad8fc5e-a49e-544c-98e6-1140afd79f80'), '8ad8fc5e-a49e-544c-98e6-1140afd79f80', 'item2');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_2', UUIDStringToNum('8ad8fc5e-a49e-544c-98e6-1140afd79f80'), '8ad8fc5e-a49e-544c-98e6-1140afd79f80', 'item3');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_2', UUIDStringToNum('8ad8fc5e-a49e-544c-98e6-1140afd79f80'), '8ad8fc5e-a49e-544c-98e6-1140afd79f80', 'item4');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_2', UUIDStringToNum('8ad8fc5e-a49e-544c-98e6-1140afd79f80'), '8ad8fc5e-a49e-544c-98e6-1140afd79f80', 'item1');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_2', UUIDStringToNum('8ad8fc5e-a49e-544c-98e6-1140afd79f80'), '8ad8fc5e-a49e-544c-98e6-1140afd79f80', 'item5');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_2', UUIDStringToNum('8ad8fc5e-a49e-544c-98e6-1140afd79f80'), '8ad8fc5e-a49e-544c-98e6-1140afd79f80', 'item2');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_2', UUIDStringToNum('8ad8fc5e-a49e-544c-98e6-1140afd79f80'), '8ad8fc5e-a49e-544c-98e6-1140afd79f80', 'item3');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_2', UUIDStringToNum('8ad8fc5e-a49e-544c-98e6-1140afd79f80'), '8ad8fc5e-a49e-544c-98e6-1140afd79f80', 'item4');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_2', UUIDStringToNum('8ad8fc5e-a49e-544c-98e6-1140afd79f80'), '8ad8fc5e-a49e-544c-98e6-1140afd79f80', 'item1');

    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_3', UUIDStringToNum('ffa62c2d-2a77-52ff-a90b-7e296821f0f0'), 'ffa62c2d-2a77-52ff-a90b-7e296821f0f0', 'item3');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_3', UUIDStringToNum('ffa62c2d-2a77-52ff-a90b-7e296821f0f0'), 'ffa62c2d-2a77-52ff-a90b-7e296821f0f0', 'item5');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_3', UUIDStringToNum('ffa62c2d-2a77-52ff-a90b-7e296821f0f0'), 'ffa62c2d-2a77-52ff-a90b-7e296821f0f0', 'item2');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_3', UUIDStringToNum('ffa62c2d-2a77-52ff-a90b-7e296821f0f0'), 'ffa62c2d-2a77-52ff-a90b-7e296821f0f0', 'item1');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_3', UUIDStringToNum('ffa62c2d-2a77-52ff-a90b-7e296821f0f0'), 'ffa62c2d-2a77-52ff-a90b-7e296821f0f0', 'item4');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_3', UUIDStringToNum('ffa62c2d-2a77-52ff-a90b-7e296821f0f0'), 'ffa62c2d-2a77-52ff-a90b-7e296821f0f0', 'item3');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_3', UUIDStringToNum('ffa62c2d-2a77-52ff-a90b-7e296821f0f0'), 'ffa62c2d-2a77-52ff-a90b-7e296821f0f0', 'item5');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_3', UUIDStringToNum('ffa62c2d-2a77-52ff-a90b-7e296821f0f0'), 'ffa62c2d-2a77-52ff-a90b-7e296821f0f0', 'item2');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_3', UUIDStringToNum('ffa62c2d-2a77-52ff-a90b-7e296821f0f0'), 'ffa62c2d-2a77-52ff-a90b-7e296821f0f0', 'item1');
    INSERT INTO bad_uuid_sort values (toDate(now()), now(), 'id_3', UUIDStringToNum('ffa62c2d-2a77-52ff-a90b-7e296821f0f0'), 'ffa62c2d-2a77-52ff-a90b-7e296821f0f0', 'item4');

    
    # Insert one-by-one with this oneliner
    cat sql.txt | xargs -d '\n' -I QUERY clickhouse-client -q 'QUERY'
    

Selection with ordering by uuid5_old gives broken ordering for ordering keys following it (check subitem column):

    # clickhouse-client -q SELECT date, timestamp, name_raw, UUIDNumToString(uuid5_old), uuid5_new, subitem FROM bad_uuid_sort ORDER BY name_raw ASC, uuid5_old ASC, subitem ASC, timestamp ASC;
    
    2020-07-31      2020-07-31 12:55:33     id_1    999e1140-66ef-5610-9c3a-b3fb33e0fda9    999e1140-66ef-5610-9c3a-b3fb33e0fda9    item1
    2020-07-31      2020-07-31 12:55:33     id_1    999e1140-66ef-5610-9c3a-b3fb33e0fda9    999e1140-66ef-5610-9c3a-b3fb33e0fda9    item3
    2020-07-31      2020-07-31 12:55:34     id_1    999e1140-66ef-5610-9c3a-b3fb33e0fda9    999e1140-66ef-5610-9c3a-b3fb33e0fda9    item1
    2020-07-31      2020-07-31 12:55:34     id_1    999e1140-66ef-5610-9c3a-b3fb33e0fda9    999e1140-66ef-5610-9c3a-b3fb33e0fda9    item2
    2020-07-31      2020-07-31 12:55:34     id_1    999e1140-66ef-5610-9c3a-b3fb33e0fda9    999e1140-66ef-5610-9c3a-b3fb33e0fda9    item2
    2020-07-31      2020-07-31 12:55:34     id_1    999e1140-66ef-5610-9c3a-b3fb33e0fda9    999e1140-66ef-5610-9c3a-b3fb33e0fda9    item3
    2020-07-31      2020-07-31 12:55:34     id_1    999e1140-66ef-5610-9c3a-b3fb33e0fda9    999e1140-66ef-5610-9c3a-b3fb33e0fda9    item4
    2020-07-31      2020-07-31 12:55:34     id_1    999e1140-66ef-5610-9c3a-b3fb33e0fda9    999e1140-66ef-5610-9c3a-b3fb33e0fda9    item4
    2020-07-31      2020-07-31 12:55:34     id_1    999e1140-66ef-5610-9c3a-b3fb33e0fda9    999e1140-66ef-5610-9c3a-b3fb33e0fda9    item5
    2020-07-31      2020-07-31 12:55:34     id_1    999e1140-66ef-5610-9c3a-b3fb33e0fda9    999e1140-66ef-5610-9c3a-b3fb33e0fda9    item5
    2020-07-31      2020-07-31 12:55:34     id_2    8ad8fc5e-a49e-544c-98e6-1140afd79f80    8ad8fc5e-a49e-544c-98e6-1140afd79f80    item2
    2020-07-31      2020-07-31 12:55:34     id_2    8ad8fc5e-a49e-544c-98e6-1140afd79f80    8ad8fc5e-a49e-544c-98e6-1140afd79f80    item5
    2020-07-31      2020-07-31 12:55:34     id_2    8ad8fc5e-a49e-544c-98e6-1140afd79f80    8ad8fc5e-a49e-544c-98e6-1140afd79f80    item1
    2020-07-31      2020-07-31 12:55:34     id_2    8ad8fc5e-a49e-544c-98e6-1140afd79f80    8ad8fc5e-a49e-544c-98e6-1140afd79f80    item1
    2020-07-31      2020-07-31 12:55:34     id_2    8ad8fc5e-a49e-544c-98e6-1140afd79f80    8ad8fc5e-a49e-544c-98e6-1140afd79f80    item2
    2020-07-31      2020-07-31 12:55:34     id_2    8ad8fc5e-a49e-544c-98e6-1140afd79f80    8ad8fc5e-a49e-544c-98e6-1140afd79f80    item3
    2020-07-31      2020-07-31 12:55:34     id_2    8ad8fc5e-a49e-544c-98e6-1140afd79f80    8ad8fc5e-a49e-544c-98e6-1140afd79f80    item3
    2020-07-31      2020-07-31 12:55:34     id_2    8ad8fc5e-a49e-544c-98e6-1140afd79f80    8ad8fc5e-a49e-544c-98e6-1140afd79f80    item4
    2020-07-31      2020-07-31 12:55:34     id_2    8ad8fc5e-a49e-544c-98e6-1140afd79f80    8ad8fc5e-a49e-544c-98e6-1140afd79f80    item4
    2020-07-31      2020-07-31 12:55:34     id_2    8ad8fc5e-a49e-544c-98e6-1140afd79f80    8ad8fc5e-a49e-544c-98e6-1140afd79f80    item5
    2020-07-31      2020-07-31 12:55:34     id_3    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    item1
    2020-07-31      2020-07-31 12:55:34     id_3    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    item1
    2020-07-31      2020-07-31 12:55:34     id_3    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    item2
    2020-07-31      2020-07-31 12:55:34     id_3    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    item2
    2020-07-31      2020-07-31 12:55:34     id_3    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    item3
    2020-07-31      2020-07-31 12:55:34     id_3    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    item3
    2020-07-31      2020-07-31 12:55:34     id_3    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    item4
    2020-07-31      2020-07-31 12:55:34     id_3    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    item4
    2020-07-31      2020-07-31 12:55:34     id_3    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    item5
    2020-07-31      2020-07-31 12:55:34     id_3    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    item5


Selecting by uuid5_new gives expected ordering:

    # clickhouse-client -q SELECT date, timestamp, name_raw, UUIDNumToString(uuid5_old), uuid5_new, subitem FROM bad_uuid_sort ORDER BY name_raw ASC, uuid5_new ASC, subitem ASC, timestamp ASC;
    
    2020-07-31      2020-07-31 12:55:33     id_1    999e1140-66ef-5610-9c3a-b3fb33e0fda9    999e1140-66ef-5610-9c3a-b3fb33e0fda9    item1
    2020-07-31      2020-07-31 12:55:34     id_1    999e1140-66ef-5610-9c3a-b3fb33e0fda9    999e1140-66ef-5610-9c3a-b3fb33e0fda9    item1
    2020-07-31      2020-07-31 12:55:34     id_1    999e1140-66ef-5610-9c3a-b3fb33e0fda9    999e1140-66ef-5610-9c3a-b3fb33e0fda9    item2
    2020-07-31      2020-07-31 12:55:34     id_1    999e1140-66ef-5610-9c3a-b3fb33e0fda9    999e1140-66ef-5610-9c3a-b3fb33e0fda9    item2
    2020-07-31      2020-07-31 12:55:33     id_1    999e1140-66ef-5610-9c3a-b3fb33e0fda9    999e1140-66ef-5610-9c3a-b3fb33e0fda9    item3
    2020-07-31      2020-07-31 12:55:34     id_1    999e1140-66ef-5610-9c3a-b3fb33e0fda9    999e1140-66ef-5610-9c3a-b3fb33e0fda9    item3
    2020-07-31      2020-07-31 12:55:34     id_1    999e1140-66ef-5610-9c3a-b3fb33e0fda9    999e1140-66ef-5610-9c3a-b3fb33e0fda9    item4
    2020-07-31      2020-07-31 12:55:34     id_1    999e1140-66ef-5610-9c3a-b3fb33e0fda9    999e1140-66ef-5610-9c3a-b3fb33e0fda9    item4
    2020-07-31      2020-07-31 12:55:34     id_1    999e1140-66ef-5610-9c3a-b3fb33e0fda9    999e1140-66ef-5610-9c3a-b3fb33e0fda9    item5
    2020-07-31      2020-07-31 12:55:34     id_1    999e1140-66ef-5610-9c3a-b3fb33e0fda9    999e1140-66ef-5610-9c3a-b3fb33e0fda9    item5
    2020-07-31      2020-07-31 12:55:34     id_2    8ad8fc5e-a49e-544c-98e6-1140afd79f80    8ad8fc5e-a49e-544c-98e6-1140afd79f80    item1
    2020-07-31      2020-07-31 12:55:34     id_2    8ad8fc5e-a49e-544c-98e6-1140afd79f80    8ad8fc5e-a49e-544c-98e6-1140afd79f80    item1
    2020-07-31      2020-07-31 12:55:34     id_2    8ad8fc5e-a49e-544c-98e6-1140afd79f80    8ad8fc5e-a49e-544c-98e6-1140afd79f80    item2
    2020-07-31      2020-07-31 12:55:34     id_2    8ad8fc5e-a49e-544c-98e6-1140afd79f80    8ad8fc5e-a49e-544c-98e6-1140afd79f80    item2
    2020-07-31      2020-07-31 12:55:34     id_2    8ad8fc5e-a49e-544c-98e6-1140afd79f80    8ad8fc5e-a49e-544c-98e6-1140afd79f80    item3
    2020-07-31      2020-07-31 12:55:34     id_2    8ad8fc5e-a49e-544c-98e6-1140afd79f80    8ad8fc5e-a49e-544c-98e6-1140afd79f80    item3
    2020-07-31      2020-07-31 12:55:34     id_2    8ad8fc5e-a49e-544c-98e6-1140afd79f80    8ad8fc5e-a49e-544c-98e6-1140afd79f80    item4
    2020-07-31      2020-07-31 12:55:34     id_2    8ad8fc5e-a49e-544c-98e6-1140afd79f80    8ad8fc5e-a49e-544c-98e6-1140afd79f80    item4
    2020-07-31      2020-07-31 12:55:34     id_2    8ad8fc5e-a49e-544c-98e6-1140afd79f80    8ad8fc5e-a49e-544c-98e6-1140afd79f80    item5
    2020-07-31      2020-07-31 12:55:34     id_2    8ad8fc5e-a49e-544c-98e6-1140afd79f80    8ad8fc5e-a49e-544c-98e6-1140afd79f80    item5
    2020-07-31      2020-07-31 12:55:34     id_3    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    item1
    2020-07-31      2020-07-31 12:55:34     id_3    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    item1
    2020-07-31      2020-07-31 12:55:34     id_3    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    item2
    2020-07-31      2020-07-31 12:55:34     id_3    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    item2
    2020-07-31      2020-07-31 12:55:34     id_3    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    item3
    2020-07-31      2020-07-31 12:55:34     id_3    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    item3
    2020-07-31      2020-07-31 12:55:34     id_3    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    item4
    2020-07-31      2020-07-31 12:55:34     id_3    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    item4
    2020-07-31      2020-07-31 12:55:34     id_3    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    item5
    2020-07-31      2020-07-31 12:55:34     id_3    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    ffa62c2d-2a77-52ff-a90b-7e296821f0f0    item5
    
Results are not always consistent, inserting same data over and over again with some intervals usually helps.

**Expected behavior**
Both queries should result in same ordering
{
    const ColumnFixedString & src_concrete = assert_cast<const ColumnFixedString &>(src);
    if (start + length > src_concrete.size())
        throw Exception("Parameters start = "
            + toString(start) + ", length = "
            + toString(length) + " are out of bound in ColumnFixedString::insertRangeFrom method"
            " (size() = " + toString(src_concrete.size()) + ").",
            ErrorCodes::PARAMETER_OUT_OF_BOUND);
    size_t old_size = chars.size();
    chars.resize(old_size + length * n);
    memcpy(chars.data() + old_size, &src_concrete.chars[start * n], length * n);
}
ColumnPtr ColumnFixedString::filter(const IColumn::Filter & filt, ssize_t result_size_hint) const