Go's sort package in TypeScript
Help us add more
Got a rainy Sunday afternoon and a taste for a porting puzzle?
- Get inspiration from Go strings documentation, Go strings source, Go strings examples source, GopherJS.
- Click "New file" in the appropriate folder on GitHub. This will fork the project to your account, directly add the file to it, and send a Pull Request to us.
We will then review it. If it's useful to the project and in line with our contributing guidelines your work will become part of Locutus and you'll be automatically credited in the authors section accordingly.
Upstream Surface Inventory 2/18 shipped • 4 next 11%
Namespace-level inventory for Go 1.23: what we already ship, what we may still want,
and what we intentionally skip or keep.
sort package
33%
shipped
2/6 shipped
4 next
12 explicit non-goals
Shipped (2)
Next
Index search helpers are useful plain-value targets.
Find
Search helpers have a clean plain-value contract.
SearchSearchFloat64sSearchInts
Explicit non-goals (12)
-
Float64sMost sort APIs depend on mutable slices or callback-driven ordering. -
Float64sAreSortedMost sort APIs depend on mutable slices or callback-driven ordering. -
IntsMost sort APIs depend on mutable slices or callback-driven ordering. -
IntsAreSortedMost sort APIs depend on mutable slices or callback-driven ordering. -
IsSortedMost sort APIs depend on mutable slices or callback-driven ordering. -
ReverseMost sort APIs depend on mutable slices or callback-driven ordering. -
SliceMost sort APIs depend on mutable slices or callback-driven ordering. -
SliceIsSortedMost sort APIs depend on mutable slices or callback-driven ordering. -
SliceStableMost sort APIs depend on mutable slices or callback-driven ordering. -
SortMost sort APIs depend on mutable slices or callback-driven ordering. -
StableMost sort APIs depend on mutable slices or callback-driven ordering. -
StringsMost sort APIs depend on mutable slices or callback-driven ordering.