Sort result of LocalAdapter::ls().