i have a very large tab separated file, a part of which looks like this:
33 x 171 297 126
4 x 171 300 129
2 x 171 303 132
11 y 163 289 126
5 y 163 290 127
3 y 163 291 128
2 y 163 292 129
2 y 170 289 119
2 z 166 307 141
2 z 166 308 142
6 z 166 309 143
4 z 166 329 163
2 z 166 330 164
i want to sort and select only one line for each: x,y, z based on the highest value associated with it in the first column (in unix)