485486487488489490491492493494495
filteredList.add(asset); } returnList = filteredList; // Sorting WebAssetMapComparator comparator = new WebAssetMapComparator(sortBy, sortByDesc); Collections.sort(returnList, comparator); // Offsetting if (offset < 0)