SortBy()
Open
- Dominant language
- Go
- Stars
- 144
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
```haskell
sortBy :: (a -> a -> Ordering) -> [a] -> [a]`
sortBy (\(a,_) (b,_) -> compare a b) [(2, "world"), (4, "!"), (1, "Hello")]
[(1,"Hello"),(2,"world"),(4,"!")]
```
Contributor guide
Assessment
This issue has not been assessed yet.