Sort filepaths by subtom number before processing them.