Add Thorfile and sort block