rename package common to base
add trivial package sort
chapter 19, bodies in a line