sc pdf grey state and sort linux