Update Sorting_Custom.md

This commit is contained in:
Siyong 2020-06-16 18:56:34 -07:00
parent 4725e97aec
commit a8d0545b02

View file

@ -203,6 +203,8 @@ Foo(0) Foo(1) Foo(1) Foo(2) Foo(5) Foo(5) Foo(8) Foo(9)
### Remapping Key
- This method maps an object to another comparable datatype with which to be sorted. In this case, `Foo` is sorted by the sum of its members `x` and `y`.
<!-- Tested -->
```py
import random