[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] Re: String sorting ?
- To: sc-users@xxxxxxxxxxxxxxxx
- Subject: [sc-users] Re: String sorting ?
- From: Hjalte Møller <spleef.sc@xxxxxxxxx>
- Date: Sun, 27 Dec 2009 20:58:04 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=F1zH8Hv3HSXZhrR3vLlh9B09QQUbpo0ghxppUjoeHkM=; b=pH1QP9LqHQ79B2qn48ZGloboFjvqQwWK5SDXNT3ggaOVyycqNxMlt2eSpyMJgrAPg0 ZRFG5FH7sP/kqCQ96FeVAXylbseX4tmbwUXoQF/xc7+o/f6zc2j6tIrbKzU/pLSqPkXh Xp39D/ePSWc2lHdBXY90yKmXrdvWGvcWnqPg4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=DaZJyP53n9BQDwztvQgp3qF57Mjekctv9iwcDB9vW2oc8XrJ9op0yqhMoLKzxFBWGe +XbV68BNieNXNoSYHfZyOsqGhjBZS1vr5NBjNmlWPEcFORMyRqEyw1ir6vtq5VenHHfF 4RgbaiBTLF7sZsCOLtnVKdCrYFoQKcUW5SvdA=
- In-reply-to: <79828d180912271154u1ef75b03o8ba1eacc37e95ada@xxxxxxxxxxxxxx>
- List-id: SuperCollider users mailing list <sc-users.create.ucsb.edu>
- References: <79828d180912271154u1ef75b03o8ba1eacc37e95ada@xxxxxxxxxxxxxx>
- Reply-to: sc-users@xxxxxxxxxxxxxxxx
- Sender: owner-sc-users@xxxxxxxxxxxxxxxx
sorry to answer my own post, but I forgot one thing...
When a bunch of files is dragged 'n' dropped to a Document window, the files get sorted backwards ?
2009/12/27 Hjalte Møller
<spleef.sc@gmail.com>
Hello list,
Is there any way to sort strings according to how they are sorted by the OS ?
If you have a list of files like
1_bass.aif
2_sn.wav
...
10_file.wav
11_etc.aif
and collect them in an array, and sort them, you get
1_
10_
11_
2_
I know that is correct behavior, but it would be nice to be able to sort like osx does.
Best, Hjalte