Fix some grep version parsing + sort by file extension folder order