SORT Codes for FIRST ACTIVE