Tag: sorting

50 Character edge finding 2012-01-24T21:57:59.703

40 Sort lists according to the order of another 2012-06-29T20:17:05.427

34 How to sort colors properly? 2015-07-05T21:13:11.613

32 How do I reassign canonical ordering of symbols? 2012-08-18T00:41:19.720

30 Is there a "precedence table" for the canonical Sort ordering? 2013-08-28T05:57:40.013

29 Sort data after specific ordering (ascending/descending) in multiple columns 2012-03-14T07:38:37.500

27 Sorting a list with secondary criterion 2012-08-24T21:57:23.020

26 Sort strings by natural ordering 2012-09-14T09:26:29.587

25 Ordering problem 2012-03-08T15:27:31.313

23 Generating an ordered list of pairs of elements from ordered lists 2012-09-11T09:44:33.057

22 Unexpected result {".a", "co", ".m"} from Sort[{".m", ".a", "co"}] 2013-06-13T16:16:47.537

17 How to find rows that have maximum value? 2012-01-28T23:13:57.630

17 Retaining and reusing a one-to-one mapping from a sort 2013-02-08T10:43:51.537

17 Ordering function with recognition of duplicates 2013-03-16T06:19:48.570

16 Reproducing a ranking function that behaves like Excel's RANK 2016-02-25T11:55:31.307

16 ls Ordering[Ordering[list]] optimal? 2019-03-28T10:57:56.757

15 How can we implement "Sleep Sort"? 2012-01-22T10:46:18.943

15 Simple algorithm to find cycles in edge list 2012-03-20T07:44:12.193

15 How can I collect data for visualization of quick sort? 2013-01-25T09:48:03.027

15 Lexicographic ordering of lists-of-lists? 2015-06-10T13:30:18.063

15 FindCurvePath for lines (rather than points) 2017-01-25T18:06:59.803

15 Fastest way to combine pre-sorted lists? 2017-03-13T17:53:09.500

15 Dataset is 20X slow when adding column heads 2017-03-29T00:37:04.873

15 Rearrange the list in a specific way 2017-06-08T09:32:04.697

15 Better way to sort course grades 2018-09-28T11:59:01.933

14 Difference between Sort and SortBy 2015-05-08T20:24:56.137

14 Quick QuickSort implementation 2018-06-26T14:52:28.587

14 Terse Method to Swap Lowest for Highest? 2019-03-22T20:57:42.863

14 Ordering Problem With VoronoiMesh 2020-06-27T18:58:24.530

13 Sort date list in format DD/MM/YYYY 2013-01-11T16:06:36.680

13 Sort+Union on a list 2013-06-19T19:35:08.190

12 Efficiently searching a list for the position of the closest number to a specified number 2013-10-23T04:46:54.360

12 stable sort for association? 2018-08-10T20:21:03.030

12 OrderedQ with string arguments 2018-10-09T16:22:51.270

11 How to pass composite function list to SortBy? 2012-06-20T19:53:46.090

11 Ranking Function Allowing for Ties 2012-10-03T17:03:48.823

11 Sorting function for non commuting bosons 2012-12-13T19:24:20.273

11 Gather list elements by labels 2013-07-15T13:03:40.267

11 Rearranging a List 2014-02-13T12:57:34.677

11 SortBy misbehaving? 2014-10-14T01:52:20.370

11 Max element of a list with a custom ordering function 2015-01-02T01:09:52.930

11 How to sort list of mixed types of elements with each type a specified canonical order? 2015-11-02T02:23:55.687

11 Why does Sin[b-a] simplify to -Sin[a-b]? 2019-06-06T10:01:21.327

10 How to generate Intervals from a given list? 2012-01-21T09:22:12.630

10 Complement on pre-sorted lists 2013-08-14T07:28:03.870

10 Unexpected behavior when using SortBy as a dataset filter 2014-08-02T07:49:53.557

10 Sorting Lists of lists of arbitrary length 2014-10-08T05:36:40.400

10 How to get the ranked order 2014-12-06T16:09:05.293

10 Wolfram Language symbols by their Ranks 2015-10-23T04:57:53.877

9 How to tell when a job is too big for the pattern matcher? 2013-06-02T04:26:59.513

9 Why does Sort fail in this simple example? 2013-07-25T14:32:08.927

9 GatherBy/SplitBy and Sort a list 2016-02-13T19:10:12.543

8 Cyclically sort lists of mixed element types? 2016-10-15T17:17:54.210

8 What do the Internal`Compare* functions do? 2017-08-01T20:45:38.677

8 How to SortBy Last and in Reverse order? 2017-11-05T17:59:04.017

8 How to find the position in original list ranked first by SortBy 2018-03-27T17:06:39.760

8 Sort a list by elements of another list 2019-03-27T18:56:42.527

8 SortBy first element then second element, and so on? 2020-03-20T16:40:39.253

8 Best way to insert element into an ordered list at the correct position? 2020-06-18T22:39:12.960

8 How to sort and extract a list containing products 2020-12-31T10:23:42.853

7 Position function not always returning an answer even with no apparent problems 2012-12-07T10:20:57.240

7 How to get all possible orderings (equal ranks allowed) for given set of $N$ objects? 2013-11-19T07:34:10.157

7 How to plot several functions without jumping? (multiple eigenvalues of a system as functions of 2 parameters) 2014-01-03T17:09:24.510

7 Sorting a list of variables by the numerical value they represent 2015-01-06T18:45:00.030

7 SameQ for unsorted lists 2015-06-06T19:51:09.133

7 Challenging matrix sorting request? 2015-06-23T22:54:38.130

7 How to order a list to match the order of another list? 2015-11-21T15:25:13.553

7 Sorting a list while keeping its correspondence to another list 2018-12-02T16:40:35.253

7 Sorting sequences independent of color 2019-11-25T09:54:19.387

7 Find elements of array with largest absolute value 2019-12-17T19:12:06.840

7 List of tuples without duplicates & repeated values 2020-08-18T12:32:51.840

6 Merging different size, different order table 2012-09-24T06:40:36.000

6 Sort matrix by columns and rows without changing them 2012-12-04T11:30:07.247

6 Order list of monomials by degree (Pascal's Triangle) 2013-04-05T02:42:34.937

6 Sort a list of coordinates by frequency from first component of each coordinate 2013-09-08T19:04:15.063

6 Properly ordering the output of FileNames for a directory consisting of files with consecutive integer names 2013-09-17T10:30:23.280

6 Sorting an Array with words in different languages 2014-01-17T08:45:40.943

6 Sorting a large file 2014-03-11T14:49:36.637

6 Ordering the Boundary points of a Polygon 2014-08-26T14:32:53.517

6 Collision detection algorithm (discrete) with sweep and prune algorithm 2014-10-07T20:48:28.357

6 Multicolumn sorting with ordering functions and precedence 2014-12-19T21:18:11.617

6 How to make a better `Sort` in my case 2016-03-25T05:17:57.110

6 Sorting elements in a table with respect to another table 2017-09-30T08:10:26.290

6 Creating lists within lists by sorting 2017-10-13T16:44:15.883

6 Simple method to sort versions 2018-05-02T21:36:11.507

6 Sort with assumptions 2019-03-19T21:09:58.407

6 Sorting upon the first element of a nested list and show that as numerical values 2019-05-16T09:47:04.097

6 Lowest Magnitude Eigenvalues of Large Sparse Matrices 2019-06-10T17:31:21.593

6 Sorting a list according to some pre-specified rules 2019-07-05T15:23:08.550

6 Sorting list on multiple criteria based on means of subgroups 2020-02-28T19:27:05.693

6 How to group points based on mesh primitive membership 2020-03-20T21:19:24.777

6 Faster way to find longest chain of inequalities 2020-04-12T11:08:37.700

6 How to group together numbers in a list by the value of their tens digit? 2020-06-05T04:51:53.233

6 Stop Canonical Ordering of Output List 2021-02-06T23:49:45.590

5 Sorting a list and finding an array of indices that sorts the list 2012-06-24T11:45:18.570

5 Why can't I remove Orderless from Plus? 2012-11-04T19:01:55.527

5 Non Commutative sorting in Mathematica 2012-12-10T23:10:02.750

5 Are there functions or packages in Mathematica to sort subsets in lex order, colex, revlex, etc.? 2013-08-10T20:16:54.027

5 How to implement Kemeny-Young method? (rank aggregation problem) 2013-11-27T00:34:25.467