public static List<DownloadFileDescription> sortByMapName(final List<DownloadFileDescription> downloads){
  checkNotNull(downloads);
  final List<DownloadFileDescription> returnList=new ArrayList<>();
  List<DownloadFileDescription> maps=new ArrayList<>();
  for (  final DownloadFileDescription download : downloads) {
    maps.add(download);
  }
  if (!maps.isEmpty()) {
    returnList.addAll(sort(maps));
  }
  return returnList;
}

public static List < DownloadFileDescription > sortByMapName ( final List < DownloadFileDescription > downloads ) { checkNotNull ( downloads ) ; final List < DownloadFileDescription > returnList = new ArrayList < > ( ) ; List < DownloadFileDescription > maps = new ArrayList < > ( ) ; for ( final DownloadFileDescription download : downloads ) { maps . add ( download ) ; } if ( ! maps . isEmpty ( ) ) { returnList . addAll ( sort ( maps ) ) ; } return returnList ; }
sorts a list of map downloads alphabetically case insensitive by group where dummy url headers delimit the map groups .
