implemented default sort algorithm for sequence blocks without specific sort order.