Sort references to project subdirectories

Signed-off-by: Gianpaolo Macario <gmacario@gmail.com>