Josh

#sort posts


Custom Sorting in Python

I recently found myself needing to sort a list by cardinal directions. Here's a super simple solution to do custom sorting in Python.