# How to call this "SortedDict 2D" data structure?

**URL:** <https://discourse.julialang.org/t/how-to-call-this-sorteddict-2d-data-structure/21664>\
**Category:** Specific Domains\
**Created:** [March 9, 2019, 7:54am UTC](https://discourse.julialang.org/t/how-to-call-this-sorteddict-2d-data-structure/21664 "2019-03-09T07:54:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![congvan](https://avatars.discourse-cdn.com/v4/letter/c/edb3f5/32.png) [@congvan](https://discourse.julialang.org/u/congvan)\
**Post date:** [March 9, 2019, 7:54am UTC](https://discourse.julialang.org/t/how-to-call-this-sorteddict-2d-data-structure/21664/1 "2019-03-09T07:54:15Z")

</div>

Recently I come across a need for a 2D data structure like this, but I am not sure how to call it. Any advice how to call it?  
For example I have a data structure (called SortedDict2D) containing this table:

```julia
        1 3
-------------------------
"a" | "a1" "a3"
"c" | "c1" "c3"

```

It looks like a SortedDict 2D, for example if I insert horizontally  
insert\_h!( dict2D, “b” )  
it will become

```julia
       "1" "3"
-------------------------
"a" | "a1" "a3"
"b" | "b1" "b3"
"c" | "c1" "c3"

```

If I insert vertically:  
insert\_h!( dict2D, 2 )  
it will become

```julia
       "1" "2" "3"
-----------------------------
"a" | "a1" "a2" "a3"
"b" | "b1" "b2" "b3"
"c" | "c1" "c2" "c3"

```
