Order pieces by filetype