Sorting a 2D String List By Column Using Java

preview_player
Показать описание
Sorting a 2D String List By Column Using Java

Greetings, today we are sorting a 2D String List using Java. However, we are going to order the columns by the value of a specified field. This is great if you are storing some userdata using a 2D List and want to sort each user's data by name or age or whatever. We can sort columns in a 2D List using a comparator object. This class allows us to make comparisons tailored to our data structure. I hope this sorting a 2D String List by column in Java tutorial helps. Thanks for watching!

Libraries to import:

Subscribe to keep notified when I upload?:

Sorting a 2D String List By Column Using Java
Рекомендации по теме
Комментарии
Автор

your tutorial is the only one to address the issue of sorting a string number, thanks

whynot
Автор

Awesome video Man! This really was exactly what I needed. Learning about 2D lists now and ways to procedurally generate them.

gerdsfargen