1
0
mirror of https://github.com/dkhamsing/open-source-ios-apps.git synced 2025-01-11 07:44:03 +01:00

[script] Update archive order

This commit is contained in:
Daniel Khamsing 2017-03-28 10:11:16 -07:00
parent 20a9c301e1
commit 04c38f7edf

View File

@ -8,7 +8,7 @@ ARCHIVE_TAG = 'archive'
def apps_archived(apps)
a = apps.select {|a| a['tags'] != nil }.select {|b| b['tags'].include?ARCHIVE_TAG}
a.sort_by { |k, v| k['title'] }
a.sort_by { |k, v| k['title'].downcase }
end
def apps_for_cat(apps, id)