Sorting by two columns

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite












Write a shell script named sales1 using nawk and sort commands to do the following:

1. print the file in two sections, east and west, with lines alphabetized by last name
within each section, showing per quarter and total sales per person.

2. print the names of sales people in three groups:

"The following people had total sales greater than $270:"

"The following people had total sales between $250 and $270:"

"The following people had total sales less than $250:"



east:Sam Smith:52:72:78:62 
east:Daniel Liebelt:83:78:84:61
east:Shirley Couts:66:57:67:37
east:James Peringer:50:62:56:94
east:Lilly Batsuro:58:85:84:52
west:Alex Opitz:79:68:57:93
west:Carmen Gondar:62:58:85:56
west:Derek Willard:63:69:74:43
west:Kim Husak:89:91:63:64
west:Lenny Taufa:53:61:82:52


I only need assistance with # 1...



I've tried



sort -k1,1 -k2,2


But it only sorts it by east then west and not by the last name. I'm trying to treat the first column as the direction and first name and the second column as the last name with the numbers...










share|improve this question



























    up vote
    3
    down vote

    favorite












    Write a shell script named sales1 using nawk and sort commands to do the following:

    1. print the file in two sections, east and west, with lines alphabetized by last name
    within each section, showing per quarter and total sales per person.

    2. print the names of sales people in three groups:

    "The following people had total sales greater than $270:"

    "The following people had total sales between $250 and $270:"

    "The following people had total sales less than $250:"



    east:Sam Smith:52:72:78:62 
    east:Daniel Liebelt:83:78:84:61
    east:Shirley Couts:66:57:67:37
    east:James Peringer:50:62:56:94
    east:Lilly Batsuro:58:85:84:52
    west:Alex Opitz:79:68:57:93
    west:Carmen Gondar:62:58:85:56
    west:Derek Willard:63:69:74:43
    west:Kim Husak:89:91:63:64
    west:Lenny Taufa:53:61:82:52


    I only need assistance with # 1...



    I've tried



    sort -k1,1 -k2,2


    But it only sorts it by east then west and not by the last name. I'm trying to treat the first column as the direction and first name and the second column as the last name with the numbers...










    share|improve this question

























      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      Write a shell script named sales1 using nawk and sort commands to do the following:

      1. print the file in two sections, east and west, with lines alphabetized by last name
      within each section, showing per quarter and total sales per person.

      2. print the names of sales people in three groups:

      "The following people had total sales greater than $270:"

      "The following people had total sales between $250 and $270:"

      "The following people had total sales less than $250:"



      east:Sam Smith:52:72:78:62 
      east:Daniel Liebelt:83:78:84:61
      east:Shirley Couts:66:57:67:37
      east:James Peringer:50:62:56:94
      east:Lilly Batsuro:58:85:84:52
      west:Alex Opitz:79:68:57:93
      west:Carmen Gondar:62:58:85:56
      west:Derek Willard:63:69:74:43
      west:Kim Husak:89:91:63:64
      west:Lenny Taufa:53:61:82:52


      I only need assistance with # 1...



      I've tried



      sort -k1,1 -k2,2


      But it only sorts it by east then west and not by the last name. I'm trying to treat the first column as the direction and first name and the second column as the last name with the numbers...










      share|improve this question















      Write a shell script named sales1 using nawk and sort commands to do the following:

      1. print the file in two sections, east and west, with lines alphabetized by last name
      within each section, showing per quarter and total sales per person.

      2. print the names of sales people in three groups:

      "The following people had total sales greater than $270:"

      "The following people had total sales between $250 and $270:"

      "The following people had total sales less than $250:"



      east:Sam Smith:52:72:78:62 
      east:Daniel Liebelt:83:78:84:61
      east:Shirley Couts:66:57:67:37
      east:James Peringer:50:62:56:94
      east:Lilly Batsuro:58:85:84:52
      west:Alex Opitz:79:68:57:93
      west:Carmen Gondar:62:58:85:56
      west:Derek Willard:63:69:74:43
      west:Kim Husak:89:91:63:64
      west:Lenny Taufa:53:61:82:52


      I only need assistance with # 1...



      I've tried



      sort -k1,1 -k2,2


      But it only sorts it by east then west and not by the last name. I'm trying to treat the first column as the direction and first name and the second column as the last name with the numbers...







      text-processing awk sort






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 17 at 0:33









      Rui F Ribeiro

      38.2k1475123




      38.2k1475123










      asked Mar 21 '16 at 19:24









      Han

      184




      184




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          With awk you could prepend : to the last field (that is, last name plus everything that follows) sort by 1st and 3rd fields (this time using : as a field delimiter) then again with awk remove the first : from the last field :



          awk '$NF=":"$NF' infile | sort -t : -k1,1 -k3,3 | awk 'sub(/:/, "", $NF)'


          end result:



          east:Lilly Batsuro:58:85:84:52
          east:Shirley Couts:66:57:67:37
          east:Daniel Liebelt:83:78:84:61
          east:James Peringer:50:62:56:94
          east:Sam Smith:52:72:78:62
          west:Carmen Gondar:62:58:85:56
          west:Kim Husak:89:91:63:64
          west:Alex Opitz:79:68:57:93
          west:Lenny Taufa:53:61:82:52
          west:Derek Willard:63:69:74:43





          share|improve this answer






















          • Is this possible to do with nawk instead of sed?
            – Han
            Mar 21 '16 at 20:28










          • nawk ? why did you tag your question linux ? what's your OS ?
            – don_crissti
            Mar 21 '16 at 20:32











          • Oh sorry that was a mistake. I'm currently using debian. The assignment requests that I use nawk and sorting commands. Which is why I'm asking
            – Han
            Mar 21 '16 at 20:44






          • 1




            @Han - for your information: debian is a linux distro. Also, if this is homework post the exact requirements and tell us what have you tried.
            – don_crissti
            Mar 21 '16 at 20:47











          • Thank you for the information. Sorry I edited the question accordingly.
            – Han
            Mar 21 '16 at 20:54

















          up vote
          0
          down vote













          sed -r 's/^([^:]+):([^ ]+) ([^:]+):.*$/1-3 &/' your-file.txt | 
          sort | sed -r 's/[^ ]+ (.*)/1/'


          Example:



          $ sed -r 's/^([^:]+):([^ ]+) ([^:]+):.*$/1-3 &/' your-file.txt | sort | sed -r 's/[^ ]+ (.*)/1/'
          east:Lilly Batsuro:58:85:84:52
          east:Shirley Couts:66:57:67:37
          east:Daniel Liebelt:83:78:84:61
          east:James Peringer:50:62:56:94
          east:Sam Smith:52:72:78:62
          west:Carmen Gondar:62:58:85:56
          west:Kim Husak:89:91:63:64
          west:Alex Opitz:79:68:57:93
          west:Lenny Taufa:53:61:82:52
          west:Derek Willard:63:69:74:43


          By the way, this is how sort selects the first field and the second field when you run it with sort -k1,1 -k2,2:



          $ sort --debug -k1,1 -k2,2 ttt.txt
          east:Daniel Liebelt:83:78:84:61
          ___________
          ____________________
          _________________________________
          east:James Peringer:50:62:56:94
          __________
          _____________________
          _________________________________
          east:Lilly Batsuro:58:85:84:52
          __________
          ____________________
          ________________________________
          east:Sam Smith:52:72:78:62
          ________
          __________________
          ____________________________
          east:Shirley Couts:66:57:67:37
          ____________
          __________________
          ________________________________
          west:Alex Opitz:79:68:57:93
          _________
          __________________
          _____________________________
          west:Carmen Gondar:62:58:85:56
          ___________
          ___________________
          ________________________________
          west:Derek Willard:63:69:74:43
          __________
          ____________________
          ________________________________
          west:Kim Husak:89:91:63:64
          ________
          __________________
          ____________________________
          west:Lenny Taufa:53:61:82:52
          __________
          __________________





          share|improve this answer






















            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f271311%2fsorting-by-two-columns%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            2
            down vote



            accepted










            With awk you could prepend : to the last field (that is, last name plus everything that follows) sort by 1st and 3rd fields (this time using : as a field delimiter) then again with awk remove the first : from the last field :



            awk '$NF=":"$NF' infile | sort -t : -k1,1 -k3,3 | awk 'sub(/:/, "", $NF)'


            end result:



            east:Lilly Batsuro:58:85:84:52
            east:Shirley Couts:66:57:67:37
            east:Daniel Liebelt:83:78:84:61
            east:James Peringer:50:62:56:94
            east:Sam Smith:52:72:78:62
            west:Carmen Gondar:62:58:85:56
            west:Kim Husak:89:91:63:64
            west:Alex Opitz:79:68:57:93
            west:Lenny Taufa:53:61:82:52
            west:Derek Willard:63:69:74:43





            share|improve this answer






















            • Is this possible to do with nawk instead of sed?
              – Han
              Mar 21 '16 at 20:28










            • nawk ? why did you tag your question linux ? what's your OS ?
              – don_crissti
              Mar 21 '16 at 20:32











            • Oh sorry that was a mistake. I'm currently using debian. The assignment requests that I use nawk and sorting commands. Which is why I'm asking
              – Han
              Mar 21 '16 at 20:44






            • 1




              @Han - for your information: debian is a linux distro. Also, if this is homework post the exact requirements and tell us what have you tried.
              – don_crissti
              Mar 21 '16 at 20:47











            • Thank you for the information. Sorry I edited the question accordingly.
              – Han
              Mar 21 '16 at 20:54














            up vote
            2
            down vote



            accepted










            With awk you could prepend : to the last field (that is, last name plus everything that follows) sort by 1st and 3rd fields (this time using : as a field delimiter) then again with awk remove the first : from the last field :



            awk '$NF=":"$NF' infile | sort -t : -k1,1 -k3,3 | awk 'sub(/:/, "", $NF)'


            end result:



            east:Lilly Batsuro:58:85:84:52
            east:Shirley Couts:66:57:67:37
            east:Daniel Liebelt:83:78:84:61
            east:James Peringer:50:62:56:94
            east:Sam Smith:52:72:78:62
            west:Carmen Gondar:62:58:85:56
            west:Kim Husak:89:91:63:64
            west:Alex Opitz:79:68:57:93
            west:Lenny Taufa:53:61:82:52
            west:Derek Willard:63:69:74:43





            share|improve this answer






















            • Is this possible to do with nawk instead of sed?
              – Han
              Mar 21 '16 at 20:28










            • nawk ? why did you tag your question linux ? what's your OS ?
              – don_crissti
              Mar 21 '16 at 20:32











            • Oh sorry that was a mistake. I'm currently using debian. The assignment requests that I use nawk and sorting commands. Which is why I'm asking
              – Han
              Mar 21 '16 at 20:44






            • 1




              @Han - for your information: debian is a linux distro. Also, if this is homework post the exact requirements and tell us what have you tried.
              – don_crissti
              Mar 21 '16 at 20:47











            • Thank you for the information. Sorry I edited the question accordingly.
              – Han
              Mar 21 '16 at 20:54












            up vote
            2
            down vote



            accepted







            up vote
            2
            down vote



            accepted






            With awk you could prepend : to the last field (that is, last name plus everything that follows) sort by 1st and 3rd fields (this time using : as a field delimiter) then again with awk remove the first : from the last field :



            awk '$NF=":"$NF' infile | sort -t : -k1,1 -k3,3 | awk 'sub(/:/, "", $NF)'


            end result:



            east:Lilly Batsuro:58:85:84:52
            east:Shirley Couts:66:57:67:37
            east:Daniel Liebelt:83:78:84:61
            east:James Peringer:50:62:56:94
            east:Sam Smith:52:72:78:62
            west:Carmen Gondar:62:58:85:56
            west:Kim Husak:89:91:63:64
            west:Alex Opitz:79:68:57:93
            west:Lenny Taufa:53:61:82:52
            west:Derek Willard:63:69:74:43





            share|improve this answer














            With awk you could prepend : to the last field (that is, last name plus everything that follows) sort by 1st and 3rd fields (this time using : as a field delimiter) then again with awk remove the first : from the last field :



            awk '$NF=":"$NF' infile | sort -t : -k1,1 -k3,3 | awk 'sub(/:/, "", $NF)'


            end result:



            east:Lilly Batsuro:58:85:84:52
            east:Shirley Couts:66:57:67:37
            east:Daniel Liebelt:83:78:84:61
            east:James Peringer:50:62:56:94
            east:Sam Smith:52:72:78:62
            west:Carmen Gondar:62:58:85:56
            west:Kim Husak:89:91:63:64
            west:Alex Opitz:79:68:57:93
            west:Lenny Taufa:53:61:82:52
            west:Derek Willard:63:69:74:43






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Mar 21 '16 at 21:27


























            community wiki





            3 revs
            don_crissti












            • Is this possible to do with nawk instead of sed?
              – Han
              Mar 21 '16 at 20:28










            • nawk ? why did you tag your question linux ? what's your OS ?
              – don_crissti
              Mar 21 '16 at 20:32











            • Oh sorry that was a mistake. I'm currently using debian. The assignment requests that I use nawk and sorting commands. Which is why I'm asking
              – Han
              Mar 21 '16 at 20:44






            • 1




              @Han - for your information: debian is a linux distro. Also, if this is homework post the exact requirements and tell us what have you tried.
              – don_crissti
              Mar 21 '16 at 20:47











            • Thank you for the information. Sorry I edited the question accordingly.
              – Han
              Mar 21 '16 at 20:54
















            • Is this possible to do with nawk instead of sed?
              – Han
              Mar 21 '16 at 20:28










            • nawk ? why did you tag your question linux ? what's your OS ?
              – don_crissti
              Mar 21 '16 at 20:32











            • Oh sorry that was a mistake. I'm currently using debian. The assignment requests that I use nawk and sorting commands. Which is why I'm asking
              – Han
              Mar 21 '16 at 20:44






            • 1




              @Han - for your information: debian is a linux distro. Also, if this is homework post the exact requirements and tell us what have you tried.
              – don_crissti
              Mar 21 '16 at 20:47











            • Thank you for the information. Sorry I edited the question accordingly.
              – Han
              Mar 21 '16 at 20:54















            Is this possible to do with nawk instead of sed?
            – Han
            Mar 21 '16 at 20:28




            Is this possible to do with nawk instead of sed?
            – Han
            Mar 21 '16 at 20:28












            nawk ? why did you tag your question linux ? what's your OS ?
            – don_crissti
            Mar 21 '16 at 20:32





            nawk ? why did you tag your question linux ? what's your OS ?
            – don_crissti
            Mar 21 '16 at 20:32













            Oh sorry that was a mistake. I'm currently using debian. The assignment requests that I use nawk and sorting commands. Which is why I'm asking
            – Han
            Mar 21 '16 at 20:44




            Oh sorry that was a mistake. I'm currently using debian. The assignment requests that I use nawk and sorting commands. Which is why I'm asking
            – Han
            Mar 21 '16 at 20:44




            1




            1




            @Han - for your information: debian is a linux distro. Also, if this is homework post the exact requirements and tell us what have you tried.
            – don_crissti
            Mar 21 '16 at 20:47





            @Han - for your information: debian is a linux distro. Also, if this is homework post the exact requirements and tell us what have you tried.
            – don_crissti
            Mar 21 '16 at 20:47













            Thank you for the information. Sorry I edited the question accordingly.
            – Han
            Mar 21 '16 at 20:54




            Thank you for the information. Sorry I edited the question accordingly.
            – Han
            Mar 21 '16 at 20:54












            up vote
            0
            down vote













            sed -r 's/^([^:]+):([^ ]+) ([^:]+):.*$/1-3 &/' your-file.txt | 
            sort | sed -r 's/[^ ]+ (.*)/1/'


            Example:



            $ sed -r 's/^([^:]+):([^ ]+) ([^:]+):.*$/1-3 &/' your-file.txt | sort | sed -r 's/[^ ]+ (.*)/1/'
            east:Lilly Batsuro:58:85:84:52
            east:Shirley Couts:66:57:67:37
            east:Daniel Liebelt:83:78:84:61
            east:James Peringer:50:62:56:94
            east:Sam Smith:52:72:78:62
            west:Carmen Gondar:62:58:85:56
            west:Kim Husak:89:91:63:64
            west:Alex Opitz:79:68:57:93
            west:Lenny Taufa:53:61:82:52
            west:Derek Willard:63:69:74:43


            By the way, this is how sort selects the first field and the second field when you run it with sort -k1,1 -k2,2:



            $ sort --debug -k1,1 -k2,2 ttt.txt
            east:Daniel Liebelt:83:78:84:61
            ___________
            ____________________
            _________________________________
            east:James Peringer:50:62:56:94
            __________
            _____________________
            _________________________________
            east:Lilly Batsuro:58:85:84:52
            __________
            ____________________
            ________________________________
            east:Sam Smith:52:72:78:62
            ________
            __________________
            ____________________________
            east:Shirley Couts:66:57:67:37
            ____________
            __________________
            ________________________________
            west:Alex Opitz:79:68:57:93
            _________
            __________________
            _____________________________
            west:Carmen Gondar:62:58:85:56
            ___________
            ___________________
            ________________________________
            west:Derek Willard:63:69:74:43
            __________
            ____________________
            ________________________________
            west:Kim Husak:89:91:63:64
            ________
            __________________
            ____________________________
            west:Lenny Taufa:53:61:82:52
            __________
            __________________





            share|improve this answer


























              up vote
              0
              down vote













              sed -r 's/^([^:]+):([^ ]+) ([^:]+):.*$/1-3 &/' your-file.txt | 
              sort | sed -r 's/[^ ]+ (.*)/1/'


              Example:



              $ sed -r 's/^([^:]+):([^ ]+) ([^:]+):.*$/1-3 &/' your-file.txt | sort | sed -r 's/[^ ]+ (.*)/1/'
              east:Lilly Batsuro:58:85:84:52
              east:Shirley Couts:66:57:67:37
              east:Daniel Liebelt:83:78:84:61
              east:James Peringer:50:62:56:94
              east:Sam Smith:52:72:78:62
              west:Carmen Gondar:62:58:85:56
              west:Kim Husak:89:91:63:64
              west:Alex Opitz:79:68:57:93
              west:Lenny Taufa:53:61:82:52
              west:Derek Willard:63:69:74:43


              By the way, this is how sort selects the first field and the second field when you run it with sort -k1,1 -k2,2:



              $ sort --debug -k1,1 -k2,2 ttt.txt
              east:Daniel Liebelt:83:78:84:61
              ___________
              ____________________
              _________________________________
              east:James Peringer:50:62:56:94
              __________
              _____________________
              _________________________________
              east:Lilly Batsuro:58:85:84:52
              __________
              ____________________
              ________________________________
              east:Sam Smith:52:72:78:62
              ________
              __________________
              ____________________________
              east:Shirley Couts:66:57:67:37
              ____________
              __________________
              ________________________________
              west:Alex Opitz:79:68:57:93
              _________
              __________________
              _____________________________
              west:Carmen Gondar:62:58:85:56
              ___________
              ___________________
              ________________________________
              west:Derek Willard:63:69:74:43
              __________
              ____________________
              ________________________________
              west:Kim Husak:89:91:63:64
              ________
              __________________
              ____________________________
              west:Lenny Taufa:53:61:82:52
              __________
              __________________





              share|improve this answer
























                up vote
                0
                down vote










                up vote
                0
                down vote









                sed -r 's/^([^:]+):([^ ]+) ([^:]+):.*$/1-3 &/' your-file.txt | 
                sort | sed -r 's/[^ ]+ (.*)/1/'


                Example:



                $ sed -r 's/^([^:]+):([^ ]+) ([^:]+):.*$/1-3 &/' your-file.txt | sort | sed -r 's/[^ ]+ (.*)/1/'
                east:Lilly Batsuro:58:85:84:52
                east:Shirley Couts:66:57:67:37
                east:Daniel Liebelt:83:78:84:61
                east:James Peringer:50:62:56:94
                east:Sam Smith:52:72:78:62
                west:Carmen Gondar:62:58:85:56
                west:Kim Husak:89:91:63:64
                west:Alex Opitz:79:68:57:93
                west:Lenny Taufa:53:61:82:52
                west:Derek Willard:63:69:74:43


                By the way, this is how sort selects the first field and the second field when you run it with sort -k1,1 -k2,2:



                $ sort --debug -k1,1 -k2,2 ttt.txt
                east:Daniel Liebelt:83:78:84:61
                ___________
                ____________________
                _________________________________
                east:James Peringer:50:62:56:94
                __________
                _____________________
                _________________________________
                east:Lilly Batsuro:58:85:84:52
                __________
                ____________________
                ________________________________
                east:Sam Smith:52:72:78:62
                ________
                __________________
                ____________________________
                east:Shirley Couts:66:57:67:37
                ____________
                __________________
                ________________________________
                west:Alex Opitz:79:68:57:93
                _________
                __________________
                _____________________________
                west:Carmen Gondar:62:58:85:56
                ___________
                ___________________
                ________________________________
                west:Derek Willard:63:69:74:43
                __________
                ____________________
                ________________________________
                west:Kim Husak:89:91:63:64
                ________
                __________________
                ____________________________
                west:Lenny Taufa:53:61:82:52
                __________
                __________________





                share|improve this answer














                sed -r 's/^([^:]+):([^ ]+) ([^:]+):.*$/1-3 &/' your-file.txt | 
                sort | sed -r 's/[^ ]+ (.*)/1/'


                Example:



                $ sed -r 's/^([^:]+):([^ ]+) ([^:]+):.*$/1-3 &/' your-file.txt | sort | sed -r 's/[^ ]+ (.*)/1/'
                east:Lilly Batsuro:58:85:84:52
                east:Shirley Couts:66:57:67:37
                east:Daniel Liebelt:83:78:84:61
                east:James Peringer:50:62:56:94
                east:Sam Smith:52:72:78:62
                west:Carmen Gondar:62:58:85:56
                west:Kim Husak:89:91:63:64
                west:Alex Opitz:79:68:57:93
                west:Lenny Taufa:53:61:82:52
                west:Derek Willard:63:69:74:43


                By the way, this is how sort selects the first field and the second field when you run it with sort -k1,1 -k2,2:



                $ sort --debug -k1,1 -k2,2 ttt.txt
                east:Daniel Liebelt:83:78:84:61
                ___________
                ____________________
                _________________________________
                east:James Peringer:50:62:56:94
                __________
                _____________________
                _________________________________
                east:Lilly Batsuro:58:85:84:52
                __________
                ____________________
                ________________________________
                east:Sam Smith:52:72:78:62
                ________
                __________________
                ____________________________
                east:Shirley Couts:66:57:67:37
                ____________
                __________________
                ________________________________
                west:Alex Opitz:79:68:57:93
                _________
                __________________
                _____________________________
                west:Carmen Gondar:62:58:85:56
                ___________
                ___________________
                ________________________________
                west:Derek Willard:63:69:74:43
                __________
                ____________________
                ________________________________
                west:Kim Husak:89:91:63:64
                ________
                __________________
                ____________________________
                west:Lenny Taufa:53:61:82:52
                __________
                __________________






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Mar 21 '16 at 20:51

























                answered Mar 21 '16 at 19:52









                Sergei Kurenkov

                2,0241016




                2,0241016



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f271311%2fsorting-by-two-columns%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown






                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Bahrain

                    Postfix configuration issue with fips on centos 7; mailgun relay