Sort:  

1

a

b

c

j

d

e

f

g

h

i

2

g

a

b

3

g

h

i

4

g

h

5

g

h

i

j

6

a

b

c

d

e

f

a

b

c

d

e

f

a

b

c

d

e

f

a

b

c

d

e

f

c

d

e

f

k

a

b

c

d

e

f

g

h

i