From b9801288463d9eebf7a590950dc1a255bdad5fca Mon Sep 17 00:00:00 2001 From: susemi99 Date: Fri, 8 Mar 2019 21:42:47 +0900 Subject: [PATCH] =?UTF-8?q?#44=20=ED=8C=8C=EC=9D=BC=EC=9D=B4=EB=A6=84?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EC=A0=95=EB=A0=AC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GPXTracker/GPXTracker/FileController.swift | 2 +- GPXTracker/GPXTracker/Info.plist | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/GPXTracker/GPXTracker/FileController.swift b/GPXTracker/GPXTracker/FileController.swift index 9c77516..48da6d8 100644 --- a/GPXTracker/GPXTracker/FileController.swift +++ b/GPXTracker/GPXTracker/FileController.swift @@ -26,7 +26,7 @@ class FileController { let temporaryDirectory = NSURL.fileURL(withPath: NSTemporaryDirectory(), isDirectory: true) result.append(contentsOf: addFilesInDirectory(path: temporaryDirectory)) - return result + return result.sorted {$0.name.lowercased() < $1.name.lowercased()} } static func addFilesInDirectory(path: URL) -> [GTFile] { diff --git a/GPXTracker/GPXTracker/Info.plist b/GPXTracker/GPXTracker/Info.plist index 56d5aab..dd7b511 100644 --- a/GPXTracker/GPXTracker/Info.plist +++ b/GPXTracker/GPXTracker/Info.plist @@ -32,9 +32,9 @@ CFBundlePackageType APPL CFBundleShortVersionString - 3.2 + 3.3 CFBundleVersion - 3.2 + 3.3 LSRequiresIPhoneOS LSSupportsOpeningDocumentsInPlace