Fixed lists with not matching index, by sorting them