cctools.py: ~/.cache -> xdg.BaseDirectory.xdg_cache_home
standardized names of sort key methods