Prime: re-order files and update menu