Sort chartInputs by title/filename.