Sort dir contents in spec