mwgrep: Sort results before printing them

Change-Id: I2d4d2dd3c3ffa8242ae65a76e83ebb6f63c57e7f