Note that sorting with the EQUALS option versus sorting with the NOEQUALS option causes a different sort order for the observations where YearsWorked=3.

                                Sort with EQUALS                                       1

                                   Years    Insurance
                           Obs    Worked        ID

                            1        1         209   
                            2        1         564   
                            3        3         711   
                            4        3         343   
                            5        4         212   
                            6        4         616   
                            7        5         421   
                            8        5         336   
                               Sort with NOEQUALS                              2

                                   Years    Insurance
                           Obs    Worked        ID

                            1        1         209   
                            2        1         564   
                            3        3         343   
                            4        3         711   
                            5        4         212   
                            6        4         616   
                            7        5         421   
                            8        5         336