我想按照第二个元素对元组列表进行排序.
输入示例:
[("Bob",3),("Terry",1)]
示例输出:
[("Terry",1)("Bob",3)]
sorting haskell tuples
haskell ×1
sorting ×1
tuples ×1