Sort extensions in devlist output