> anish singh wrote:
>
>> I need a custom comparator.
>>
>> dictionary = {a:[b,c], d:[e,f]}
>>
>> If both 'b' and 'e' belong to the same bin
>> then it should be compared based on 'c' and 'f'.
>>
>> However, I want to also represent the result of the
>> sorted operation in a ordered dictionary
>
>> Hello,
>>
>> I have an array that takes on the following form:
>>
>> x = [1000,1001,1011,]
>
> But these are actually integers in decimal representation. You could treat
> them as binary, but I recommend that you use integers in binary
> representation to avoid confusion:
>
x