features.py: Sorting