use file sorting on production