sort ps by memory usage and cpu