我有一个名为 $.ajax({
url: "https://en.wikipedia.org/w/api.php?format=json&action=YOURACTION&OTHERPARAMS&callback=wikiCallback",
dataType:"jsonp",
success: function(data){doSmth()}
})
的表,其中包含以下记录:
seat
我想根据第二列+----+------+
| ID | Seat |
+----+------+
| 1 | 1a |
+----+------+
| 2 | 1b |
+----+------+
| 3 | 2a |
+----+------+
| 4 | 2b |
+----+------+
| 5 | 3a |
+----+------+
| 6 | 3b |
+----+------+
| 7 | 4a |
+----+------+
| 8 | 4b |
+----+------+
| 9 | 10a |
+----+------+
| 10 | 10b |
+----+------+
| 11 | 11a |
+----+------+
| 12 | 11b |
+----+------+
| 13 | 12a |
+----+------+
| 14 | 12b |
+----+------+
的最后一个字符对结果进行排序,所以我的表格显示:
seat
如何实现这一结果?我应该使用哪些功能?