-
Notifications
You must be signed in to change notification settings - Fork 4
/
323.txt
77 lines (48 loc) · 3.75 KB
/
323.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[3] [DFN[[RUBY[整列][ソート]@en[sort]]]]は、[[リスト]]の[[項目][リスト項目]]を一定の規則に従った[[順序]]とすることを目指して並べ替える[[操作]]です。
[8]
[FIG(short list)[
- [[順序]]
- [CODE(XMLe)@en[xslt:sort]]
]FIG]
* 分野ごとの整列方法
[FIG(short list)[ [10]
- [[人名の整列]]
- [[日時の整列]]
- [[建制順]]
]FIG]
[13] [CITE@en-US[XML Digital Signatures for Widgets]], [TIME[2018-10-11T08:51:26.000Z]], [TIME[2024-06-04T13:42:32.266Z]] <https://www.w3.org/TR/widgets-digsig/#numerical-order>
[14] >>13 の numerical order は、 [CODE[signature[VAR[12345]].xml]]
のようなファイル名を数値順に並べるというもの。 (任意のファイル名が認められるわけではなく、
[CODE[signature]] と [CODE[.xml]] は固定。)
* [CODE(JS)@en[Array.prototype.sort]] 関数 (JavaScript)
[1]
[[JavaScript]] の [CODE(JS)@en[[[Array]].[[prototype]].[[sort]]]]
は[[安定]]であることが保証されて''いません'' [SRC@en[[[ECMAScript]]]]。
[[Firefox]] は[[安定]]では''ありません''でした。
[[Classic Mozilla]] でもそうらしいです。
[[Opera 8]] は[[安定]]のようです。 [[WinIE 6]]
も[[安定]]のようです。
怪しいテストのようなもの: <javascript:void(alert([[1,1],[3,4],[0,2],[1,2],[1,4],[3,3],[1,3]].sort(function(a,b){return a[0]-b[0]})))>
[4] [CITE@ja[乱数の取り扱いについて注意したいポイント | _level0 | Kayac Interactive Designer's Blog]] ([[面白法人カヤック]] 著, [TIME[2011-10-17 22:28:34 +09:00]] 版) <http://level0.kayac.com/#!2009/10/post_52.php>
[5] [CITE@ja[JavaScriptで配列をシャッフル - Weblog - hail2u.net]] ([TIME[2011-03-27 15:34:11 +09:00]] 版) <http://hail2u.net/blog/coding/shuffle-array-in-javascript.html>
* [CODE(XPathf)@en[sort()]] 関数 (XPath)
[2] [CITE[X Sharp/Nodes]] ([TIME[2009-01-22 20:51:58 +09:00]] 版) <http://wiki.codeglide.com/X_Sharp/Nodes#Sorting_with_sort.28.29>
* [CODE(perl)@en[sort]] 関数 (Perl)
@@ 。。。
* [CODE@en[sort()]] 関数 (PHP)
[3] [CITE[PHPのsort関数は相当おかしい - hnwの日記]] ([TIME[2009-02-28 22:14:50 +09:00]] 版) <http://d.hatena.ne.jp/hnw/20090227>
* [CODE@en[sort]] 命令 (Unix)
@@ ・・・
* 歴史
[6] [CITE@en[Web Applications 1.0 r7597 New feature: sorting tables. The actual sort algorithm isn't done yet, but this should be a good start for first draft reviewers.]]
( ([TIME[2012-12-27 08:58:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=7596&to=7597>
* メモ
[7] ''Explain Sort Algorithms'' <http://www.u-gakugei.ac.jp/~miyadera/LECTURE/SortAnim/ExAlgorithm.html>
[9] [CITE@EN[XSL Transformations (XSLT) Version 3.0]]
([TIME[2017-06-06 21:59:56 +09:00]])
<https://www.w3.org/TR/2017/REC-xslt-30-20170608/#sorting>
[11] [CITE@ja[東京五輪開会式の入場国が『五十音順』との決定に否定的な反応が続出→ここで過去のオリンピックの入場順を見てみましょう - Togetter]]
([TIME[2020-11-05T09:52:43.000Z]])
<https://togetter.com/li/1618600>
[12] [CITE@ja[黒色中国さんはTwitterを使っています: 「#実際に言われた衝撃的なクレーム 昔勤めていた会社でのこと。取引先に出す年賀状の氏名・住所を年賀状ソフトに入力している際、覗き見してきた上司から、データベースでの並び順が「職位順じゃない!見られたらどうするんだ!失礼だ!」と激怒した。そんなの取引先は絶対見に来ないのだが…(^_^;)」 / Twitter]], [TIME[午後7:17 · 2023年7月12日][2023-07-12T10:17:01.000Z]], [TIME[2023-07-13T03:41:56.000Z]] <https://twitter.com/bci_/status/1679072363617587201>