better file sorting