Add sorting to the list and ps commands.
Merge pull request #15 from sorribas/master

Add sorting to the list and ps commands.