Sort build directory files in spec