sort based on timestamp , and if timestamp same then based on list entries I have this command .file.sh | grep PAL