public @Nonnull Collection<FingerprintFacet> getSortedFacets() {
        List<FingerprintFacet> r = new ArrayList<>(getFacets());
        r.sort(new Comparator<FingerprintFacet>() {
            public int compare(FingerprintFacet o1, FingerprintFacet o2) {
                long a = o1.getTimestamp();
                long b = o2.getTimestamp();
                if (a < b) return -1;
                if (a == b) return 0;
                return 1;
            }
        });
        return r;
    }
public @ Nonnull Collection < FingerprintFacet > getSortedFacets ( ) { List < FingerprintFacet > r = new ArrayList < > ( getFacets ( ) ) ; r . sort ( new Comparator < FingerprintFacet > ( ) { public int compare ( FingerprintFacet o1 , FingerprintFacet o2 ) { long a = o1 . getTimestamp ( ) ; long b = o2 . getTimestamp ( ) ; if ( a < b ) return - 1 ; if ( a == b ) return 0 ; return 1 ; } } ) ; return r ; }
Sorts {@link FingerprintFacet}s by their timestamps.
@return Sorted list of {@link FingerprintFacet}s