**120**wrote:

Hello all,

I am trying to sort a csv file containing 3 values. The first one is the one that matters. It contains many times the number 1, 2, 3, 4 etc etc. But each number doesnt appear the same number of times as the other number. So, i wanna sort the csv file from its 1st column, from less times of appearance of each number to the highest number of appearces.

for example

```
1
1
1
2
2
2
2
2
3
4
4
->
3
4
4
1
1
1
2
2
2
2
```

using mac but i can get access to a linux

**12k**• written 29 days ago by dimitrischat •

**120**

how is it related to bioinformatics ?

131kwe could give him the chance that the numbers are autosomal chromosomes ;)

12kyes they are, i just changed the chr"x" to number for convenience.

120