MCPcopy Create free account
hub / github.com/corestoreio/pkg / SortByValue

Method SortByValue

config/_cfgsource/slice.go:50–58  ·  view source on GitHub ↗

SortByValue sorts by value in asc = 0 or desc != 0 direction. The underlying value will be converted to a string. You might expect strange results when sorting integers or other non-strings.

(direction int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestSliceStringFunction · 0.80
TestSliceMergeFunction · 0.80

Calls 2

ReverseMethod · 0.80
SortMethod · 0.45

Tested by 2

TestSliceStringFunction · 0.64
TestSliceMergeFunction · 0.64