func sort.Sort
93 uses
sort (current package)
sort.go#L229: func Sort(data Interface) {
sort.go#L289: func (x IntSlice) Sort() { Sort(x) }
sort.go#L313: func (x Float64Slice) Sort() { Sort(x) }
sort.go#L323: func (x StringSlice) Sort() { Sort(x) }
sort.go#L328: func Ints(x []int) { Sort(IntSlice(x)) }
sort.go#L332: func Float64s(x []float64) { Sort(Float64Slice(x)) }
sort.go#L335: func Strings(x []string) { Sort(StringSlice(x)) }
compress/flate
huffman_code.go#L318: sort.Sort(s)
huffman_code.go#L333: sort.Sort(s)
encoding/json
encode.go#L1380: sort.Sort(byIndex(fields))
github.com/aws/aws-sdk-go/private/protocol/json/jsonutil
build.go#L178: sort.Sort(sv)
github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil
xml_to_struct.go#L129: sort.Sort(xmlAttrSlice(sortedAttrs))
github.com/beorn7/perks/quantile
stream.go#L177: sort.Sort(samples)
stream.go#L211: sort.Sort(s.b)
github.com/emirpasic/gods/utils
sort.go#L13: sort.Sort(sortable{values, comparator})
github.com/evanw/esbuild/internal/bundler
linker.go#L1041: sort.Sort(importItems)
linker.go#L1049: sort.Sort(result)
linker.go#L1102: sort.Sort(result)
linker.go#L2914: sort.Sort(sorted)
linker.go#L3559: sort.Sort(sorted)
github.com/evanw/esbuild/internal/js_ast
js_ast.go#L1693: sort.Sort(array)
github.com/evanw/esbuild/internal/logger
logger.go#L641: sort.Sort(table)
github.com/evanw/esbuild/internal/renamer
renamer.go#L134: sort.Sort(r.sortedBuffer)
renamer.go#L182: sort.Sort(sorted)
github.com/ghodss/yaml
fields.go#L212: sort.Sort(byName(fields))
fields.go#L243: sort.Sort(byIndex(fields))
github.com/go-git/gcfg/scanner
errors.go#L71: sort.Sort(p)
errors.go#L76: sort.Sort(p)
github.com/go-git/go-git/v5
references.go#L62: sort.Sort(s)
worktree_commit.go#L205: sort.Sort(sortableEntries(t.Entries))
github.com/go-git/go-git/v5/plumbing
hash.go#L64: sort.Sort(HashSlice(a))
github.com/go-git/go-git/v5/plumbing/format/idxfile
idxfile.go#L257: sort.Sort(iter.entries)
writer.go#L104: sort.Sort(w.objects)
github.com/go-git/go-git/v5/plumbing/format/index
encoder.go#L65: sort.Sort(byName(idx.Entries))
github.com/go-git/go-git/v5/plumbing/format/packfile
delta_selector.go#L217: sort.Sort(byTypeAndSize(objectsToPack))
github.com/go-git/go-git/v5/utils/merkletrie/internal/frame
frame.go#L34: sort.Sort(sort.Reverse(byName(children)))
github.com/go-redis/redis/v8
cluster.go#L490: sort.Sort(clusterSlotSlice(c.slots))
github.com/golang-migrate/migrate/v4/source
migration.go#L73: sort.Sort(i.index)
github.com/prometheus/client_golang/prometheus
desc.go#L156: sort.Sort(labelPairSorter(d.constLabelPairs))
histogram.go#L513: sort.Sort(buckSort(buckets))
registry.go#L888: sort.Sort(labelPairSorter(copiedLabels))
registry.go#L935: sort.Sort(labelPairSorter(lpsFromDesc))
summary.go#L320: sort.Sort(quantSort(qs))
summary.go#L676: sort.Sort(quantSort(qs))
value.go#L160: sort.Sort(labelPairSorter(labelPairs))
wrap.go#L171: sort.Sort(labelPairSorter(out.Label))
github.com/prometheus/client_golang/prometheus/internal
metric.go#L71: sort.Sort(metricSorter(mf.Metric))
github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg
autoneg.go#L133: sort.Sort(slice)
github.com/prometheus/common/model
labelset.go#L88: sort.Sort(lns)
signature.go#L65: sort.Sort(labelNames)
signature.go#L105: sort.Sort(LabelNames(labels))
signature.go#L134: sort.Sort(labelNames)
value.go#L407: sort.Sort(matCp)
go.opencensus.io/zpages
rpcz.go#L327: sort.Sort(&sentStats)
rpcz.go#L328: sort.Sort(&receivedStats)
tracez.go#L301: sort.Sort(es)
go/ast
commentmap.go#L27: sort.Sort(orderedList)
go/doc
reader.go#L746: sort.Sort(&data{n, swap, less})
go/scanner
errors.go#L74: sort.Sort(p)
errors.go#L79: sort.Sort(p)
golang.org/x/net/http2
http2.go#L352: sort.Sort(s)
http2.go#L361: sort.Sort(s)
writesched_priority.go#L198: sort.Sort(sortPriorityNodeSiblings(*tmp))
golang.org/x/net/trace
events.go#L90: sort.Sort(data.EventLogs)
trace.go#L278: sort.Sort(data.Traces)
trace.go#L499: sort.Sort(trl)
trace.go#L513: sort.Sort(trl)
golang.org/x/pkgsite/internal/godoc/internal/doc
reader.go#L750: sort.Sort(&data{n, swap, less})
golang.org/x/text/internal
internal.go#L17: sort.Sort(sorter(tags))
golang.org/x/text/internal/language
compose.go#L27: sort.Sort(sortVariants(b.variants))
parse.go#L375: sort.Sort(variantsSort{varID, variant})
parse.go#L466: sort.Sort(bytesSort{exts, 1})
parse.go#L498: sort.Sort(bytesSort{attrs, 3})
golang.org/x/text/language
coverage.go#L129: sort.Sort(bases(a))
golang.org/x/text/unicode/bidi
bracket.go#L171: sort.Sort(p.pairPositions)
golang.org/x/text/unicode/rangetable
rangetable.go#L20: sort.Sort(byRune(r))
google.golang.org/grpc/internal/channelz
funcs.go#L514: sort.Sort(int64Slice(ids))
funcs.go#L561: sort.Sort(int64Slice(ids))
funcs.go#L614: sort.Sort(int64Slice(ids))
gopkg.in/yaml.v2
encode.go#L190: sort.Sort(keys)
encode.go#L233: sort.Sort(keys)
net
addrselect.go#L277: sort.Sort(sort.Reverse(byMaskLength(rfc6724policyTable)))
dnsclient.go#L195: sort.Sort(addrs)
dnsclient.go#L225: sort.Sort(s)
net/http
h2_bundle.go#L3428: sort.Sort(s)
h2_bundle.go#L3437: sort.Sort(s)
h2_bundle.go#L10045: sort.Sort(http2sortPriorityNodeSiblings(*tmp))
header.go#L175: sort.Sort(hs)
regexp
onepass.go#L385: sort.Sort(runeSlice(runes))
onepass.go#L409: sort.Sort(runeSlice(runes))
regexp/syntax
parse.go#L1625: sort.Sort(ranges{rp})
runtime/pprof
pprof.go#L432: sort.Sort(&keysByCount{keys, count})
vendor/golang.org/x/text/unicode/bidi
bracket.go#L171: sort.Sort(p.pairPositions)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |