Java Sort 2d Array By First Column, You can then use Collections.