Sort block added for github (#988)